RealGrid2 API
Interface
GridBaseConfig

GridBaseConfig

Signature:

export interface GridBaseConfig extends GridOptions, EventHandlers<GridBase>

Extends: GridOptions, EventHandlers<GridBase>

Properties

PropertyTypeDescription
cellStyleCallbackCellStyleCallbackSets the cellStyleCallback.
columns(DataColumn | string | LiteralColumn)[]Column information displayed in the grid.
contextMenu(PopupMenu | PopupMenuItem)[]Specifies the menu items to be added to the context menu displayed when right-clicking on the grid.
layout(LayoutItem | string)[]Set the column layout of the grid.
rowStyleCallbackRowStyleCallbackSet rowStyleCallback.

Properties Desc

cellStyleCallback

Set cellStyleCallback.

Type - CellStyleCallback

Remarks:

See GridBase.setCellStyleCallback()


columns

Column information displayed in the grid.

Type - (DataColumn | string | LiteralColumn)[]

Remarks:

See GridBase.setColumns()


contextMenu

Specifies the menu items to be added to the context menu displayed when right-clicking the grid.

Type - (PopupMenu | PopupMenuItem)[]

Remarks:

See GridBase.setContextMenu()


layout

Sets the grid's column layout.

Type - (LayoutItem | string)[]

Remarks:

See GridBase.setColumnLayout()


rowStyleCallback

Sets the rowStyleCallback.

Type - RowStyleCallback

Remarks:

See GridBase.setRowStyleCallback()