5.20222.877
Wijmo API Module wijmo.grid Wijmo API Module

wijmo.grid Module

Defines the FlexGrid control and associated classes.

The example below creates a FlexGrid control and binds it to a 'data' array. The grid has three columns, specified by explicitly populating the grid's FlexGrid.columns array.

Example

Type aliases

ICellTemplateFunction

ICellTemplateFunction: Object

Represents a function that takes an ICellTemplateContext object and returns an HTML string to be used as content for a cell.

Alternatively, the function may modify the content of the cell element directly and return null to indicate the cell element should not be modified.

param:

ctx ICellTemplateContext object that contains information about the cell.

param:

cell HTMLElement that represents the cell.

returns

A template string built using the context, or null to indicate the function updated the cell element and it should not be modified by the grid.

ITextSearch

ITextSearch: Object

Represents a function that matches text against a search string.

param

Text to test.

param

Search string.

returns

true if the text satisfies the search text, false otherwise.