Represents a grid view control.
The following tables list the members exposed by the Grid type.
Name | Description | |
---|---|---|
Initializes a new instance of the Grid class. |
Name | Description | |
---|---|---|
Gets the active grid cell editor. |
||
Gets or sets a value, indicating whether to show a new empty row at the bottom of the grid and a 'New row' option in the row context menu. |
||
Gets or sets a value, indicating whether single cell selection is enabled. |
||
Gets or sets a value, indicating whether to show a 'Delete row' option in the row context menu. |
||
Gets or sets a value, indicating whether inplace editing is enabled. |
||
Gets a reference to the grid data table DOM element. |
||
Gets the active grid cell. |
||
Gets a reference to the grid header DOM element. |
||
Gets or sets the data model of this Grid. |
||
Gets or sets the index of the first visible row. |
||
Gets the selected cells. |
||
Gets the indices of selected rows. |
||
Gets a value, indicating whether the sorting is in Ascending order. |
||
Gets the index of the column, by which the data is sorted. |
Name | Description | |
---|---|---|
Adds a row. |
||
Recalculates grid's dimensions. |
||
Control.attach override. |
||
Ensures that the specified row is visible. |
||
Control.detach override. |
||
Disposes the active grid cell editor. |
||
Disposes the current context menu. |
||
Control.draw override. |
||
Sets the focus to the cell at the specified position. |
||
Gets the DOM element of the cell in the specified coordinates. |
||
Gets the width of the specified grid column. |
||
Gets the row with the specified key. |
||
Gets the DOM element of the specified row. |
||
Gets the key of the row at the specified index. |
||
Checks if the row at the specified index is currently visible. |
||
Refreshes the Grid after external modifications to the grid model. |
||
Repaints the grid contents. |
||
Repaints a range of rows. |
||
Removes a range of rows. |
||
Selects the cell at the specified position. |
||
Selects the rows in the specified range. |
||
Sets the width of the specified grid column. |
||
Sorts by the specified column and sort direction. |
Name | Description | |
---|---|---|
Raised when a cell is focused. |
||
Raised before a cell is focused. |
||
Raised when a cell is selected. |
||
Raised before a cell is selected. |
||
Raised when a cell's contents are about to be rendered, to allow custom drawing. |
||
Raised when a header cell's contents are about to be rendered, to allow custom drawing. |
||
Raised when a command is executed on a row. |
||
Raised when a new row is created. |
||
Raised before a new row is created. |
||
Raised when a row is deleted. |
||
Raised before a row is deleted. |
||
Raised when a row is rendered. |
||
Raised when a row is selected. |
||
Raised before a row is selected. |
||
Raised when a row is updated. |
||
Raised before a row is updated. |