Properties

autoLoad - Boolean, default = true
Indicates if the records should be loaded from the server automatically as user scrolls.
buffered - Integer, default = 0
Number of buffered records.
buttons - Object, default see below
Object that contains default toolbar items
columnGroups - Array, default = []
Array of column group objects.
columns - Array, default = []
Array of column objects.
fixedBody - Boolean, default = true
Indicates if the body of the grid is of fixed height.
header - String, default = ''
The header of the grid.
keyboard - Boolean, default = true
Indicates if grid should listen to keyboard.
last - Object, default see below
Internal grid's vairables.
limit - Integer, default = 100
Number of records to return from remote data source per attempt.
markSearchResults - Boolean, default = true
Indicates if result of the search should be highlighted.
msgDelete - String, default = 'Are you sure you want to delete selected record(s)?'
Confirmation message when user clicks the delete button.
msgNotJSON - String, default = 'Returned data is not in valid JSON format.'
Error message when server does not return JSON structure.
msgRefresh - String, default = 'Refreshing...'
Message that appears when grid refreshes.
multiSearch - Boolean, default = true
Indicates if multi field search is allowed.
multiSelect - Boolean, default = true
Indicates if record multi select is allowed.
multiSort - Boolean, default = true
Indicates if column multi sort is allowed.
offset - Integer, default = 0
Number of records to skip when retriving records from remote source.
postData - Object, default = {}
Map of additional parameter to submit to remove data source.
ranges - Array, default = []
Array of all ranges defined for the grid.
recordHeight - Integer, default = 24
Height of the record.
records - Array, default = []
Array of record objects.
resizeBoxes - requestBoxes()
Called to resize grid's elements.
resizeRecords - requestRecords()
Called to resize grid's records.
searchData - Array, default = []
Array of search objects (submitted to data source for record filtering).
searches - Array, default = []
Array of search objects.
selectType - String, default = 'row'
Defines selection type.
show - Object, default - see below
Map of indicators which elements of the grid are visible.
sortData - Array, default = []
Array of sort objects (submitted to data source for record sorting).
summary - Array, default = []
Summary records that displayed on the bottom
toolbar - Object, default = null
Toolbar for the grid.
total - Integer, default = 0
Total number of records.
url - String or Object, default = ''
URL to the remote data source.

Common Properties

box - DOM Element, default = null
The DOM element where to render the object.
handlers - Array, default = []
Array of event handlers.
name - String, default = ''
Unique name for the object.
style - String, default = ''
Additional style for the .box where the object is rendered.