Documentation
API
A note on col/row values
Grid always passes col/row coordinate pairs in the format [col, row] and never [row, col]. This is to more accurately match an [x, y] world, even though most english speakers will tend to say "row col".
API Overview
Details of each property can be found by clicking on it.
Types
| Name | Description |
|---|---|
| GridColumn | A column description. Passed to the columns property. |
| GridCell | The basic interface for defining a cell |
| GridSelection | The most basic representation of the selected cells in the data grid. |
| Theme | The theme used by the data grid to get all color and font information |
DataEditorRef
| Name | Description |
|---|---|
| appendRow | Append a row to the data grid. |
| emit | Used to emit commands normally emitted by keyboard shortcuts. |
| focus | Focuses the data grid. |
| getBounds | Gets the current screen-space bounds of a desired cell. |
| remeasureColumns | Causes the columns in the selection to have their natural sizes recomputed and re-emitted as a resize event. |
| scrollTo | Tells the data-grid to scroll to a particular location. |
| updateCells | Invalidates the rendering of a list of passed cells. |