options: {
forColumn: any;
forTable: any;
} = ...
Type declaration
-
forColumn:function
- forColumn<P, Data>(column: Column<Data>, klass: Class<P>): undefined | ReturnType<InstanceOf<P>["getColumnOptions"]>
-
Type Parameters
-
P extends BasePlugin<unknown, unknown, unknown, unknown, P>
-
Data = unknown
Parameters
-
column: Column<Data>
-
klass: Class<P>
Returns undefined | ReturnType<InstanceOf<P>["getColumnOptions"]>
-
forTable:function
- forTable<P, Data>(table: Table<Data>, klass: Class<P>): undefined | OptionsFor<P>
-
Type Parameters
-
P extends BasePlugin<unknown, unknown, unknown, unknown, P>
-
Data = unknown
Parameters
-
table: Table<Data>
-
klass: Class<P>
Returns undefined | OptionsFor<P>
For a given table and plugin, return the options, if any were given from the user during construction of the table.