Scrollable grid control. Displays data in a table with fixed
headers, resizable columns, client-side sorting and much more.
Constructor Syntax
var obj = new Active.Controls.Grid;
Class Hierarchy
Data Models
row | Specifies the row indices and the row headers data. |
column | Specifies the column indices and the column headers data. |
data | Provides the content to display inside the grid cells. |
selection | Controls the row/column/cell selection. |
sort | Controls sorting of the grid rows. |
status | Provides control status. |
error | Provides error information. |
Public Methods
Content Templates
layout | Splits the grid display into the four scrolling areas. |
main | Contains the main area of the grid. |
data | Contains the list of data rows. |
left | Contains the row headings area. |
top | Contains the column headings area. |
status | Displays control status text. |
error | Displays error text. |
row | Grid row template. |
column | Grid column (cell) template. |
HTML
<div id="{id}" class="active-controls-grid " oncontextmenu="return false" onselectstart="return false" onkeydown="dispatch(event, this)" onmousewheel="dispatch(event, this)">
{#0}</div>