This plugin provides a means of managing selection of a single row in a table.

The state of what is actually selected is managed by you, but this plugin will wire up the click listeners as well as let you know which data is clicked.

Type Parameters

  • DataType = any

  • Key = DataType

Hierarchy

Constructors

Properties

[___Signature__]: Signature<DataType, Key>

(secret)

Because classes are kind of like interfaces, we need "something" to help TS know what a Resource is.

This isn't a real API, but does help with type inference with the SignatureFrom utility above

meta: {
    row: typeof RowMeta;
    table: typeof TableMeta;
} = ...

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.

Type declaration

  • row: typeof RowMeta
  • table: typeof TableMeta
name: string = 'row-selection'

Unique name for the plugin.

  • only one plugin of the same name is allowed
  • the name is used for storing preferences / serializable information
table: Table<unknown>
features?: string[]
requires?: string[]

Methods

Generated using TypeDoc