Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions

An options object for initializing a widget. An options object for initializing a data grid.

Hierarchy

  • IOptions

Index

Properties

Optional cellRenderers

cellRenderers: RendererMap

The cell renderer map for the data grid.

The default is an empty renderer map.

Optional copyConfig

copyConfig: CopyConfig

The copy configuration data for the grid.

The default is DataGrid.defaultCopyConfig.

Optional defaultRenderer

defaultRenderer: CellRenderer

The default cell renderer for the data grid.

The default is a new TextRenderer.

Optional defaultSizes

defaultSizes: DefaultSizes

The default sizes for the data grid.

The default is DataGrid.defaultSizes.

Optional headerVisibility

headerVisibility: HeaderVisibility

The header visibility for the data grid.

The default is 'all'.

Optional minimumSizes

minimumSizes: MinimumSizes

The minimum sizes for the data grid.

The default is DataGrid.minimumSizes.

Optional node

node: HTMLElement

The optional node to use for the widget.

If a node is provided, the widget will assume full ownership and control of the node, as if it had created the node itself.

The default is a new <div>.

Optional stretchLastColumn

stretchLastColumn: undefined | false | true

Whether to stretch the last column of the grid.

The default is false.

Optional stretchLastRow

stretchLastRow: undefined | false | true

Whether to stretch the last row of the grid.

The default is false.

Optional style

style: Style

The style for the data grid.

The default is DataGrid.defaultStyle.

Optional tag

tag: keyof HTMLElementTagNameMap

The optional element tag, used for constructing the widget's node.

If a pre-constructed node is provided via the node arg, this value is ignored.

Generated using TypeDoc