Optional state that this plugin may or may not choose to use
columns will each have an instance of meta.column. the table will have only one instance of meta.table.
Unique name for the plugin.
Protected
tableStatic
featuresStatic
requiresPrivate
#selfTS does not allow access to the constructor property on class instances
Utility property that returns the resulting options passed during table creation for this specific plugin.
Static
forHelper for specifying column-level configurations for a plugin on headlessTable
's
columns option
Static
withHelper for specifying plugins on headlessTable
with the plugin-level options
Generated using TypeDoc
Table plugins are stateless objects that optionally provide hooks based on what the plugin wishes to modify.
A Plugin may either be a class or plain object
If state is desired, Metadata classes may be provided to manage that state. As a convenience, when the meta classes are instantiated, they'll be given the same
owner
as everything else in the application, so service injection will be available within the meta class instances.A plugin can provide components that the consuming Table can opt in to rendering. (though, often these components will be required to be rendered for the plugin to work)
a
Plugin
has three type arguments:ColumnMeta
- optional state for storing and managing information per columnTableMeta
- optional state for storing and managing information about the tableAny particular plugin instantiation will have at most 1 instance of their TableMeta and
n
instances of their ColumnMeta, wheren
is at most the number of columns.