Grid API Reference

Properties

adaptivityMode object Please see subproperty list
allowColumnReorder boolean false
allowRowReorder boolean false
allowColumnFixing boolean false
appearance object Please see subproperty list
columns Array []
columnWidth any null
columnChooser object Please see subproperty list
columnMenu object Please see subproperty list
columnGroups array []
columnHeight any null
columnResizeMode string "none"
dataSource object null
displayLoadingIndicator boolean false
grouping object Please see subproperty list
messages object {"en":{"invalidColumnProperty":"{{elementType}}: Invalid property name \"{{propertyName}}\" set for Column: \"{{type}}\"","invalidRowProperty":"{{elementType}}: Invalid property name \"{{propertyName}}\" set for Row\"","frozenColumns":"{{elementType}}: To Pin/Freeze a column group, all columns within it should be frozen.","frozenRows":"{{elementType}}: To Pin/Freeze a special cell, all rows within it should be frozen.","columnGroups":"{{elementType}}: Please, check the initialization of the smartGrid's columns array. The columns in a column group are expected to be siblings in the columns array.","min":"Min: {{value}}","max":"Max: {{value}} ","sum":"Sum: {{value}} ","avg":"Avg: {{value}} ","count":"Count: {{value}} ","pagerFirstButton":"First","pagerLastButton":"Last","pagerPreviousButton":"Previous","pagerNextButton":"Next","pagerNavigateToLabel":"Go to:","pagerPageSizeLabel":"Show:","pagerNavigateToInputPlaceholder":"","pagerEllipsis":"...","pagerSummaryString":"of","pagerSummaryPrefix":"of","pagerSummarySuffix":"","columnMenuCustomizeType":"Customize type","columnMenuItemRename":"Rename","columnMenuItemEditDescription":"Edit description","columnMenuItemDuplicate":"Duplicate","columnMenuItemInsertLeft":"Insert left","columnMenuItemInsertRight":"Insert right","columnMenuItemSortAsc":"Sort {{mode}}","columnMenuItemSortDesc":"Sort {{mode}}","columnMenuItemRemoveSort":"Remove Sort","columnMenuItemFilter":"Filter","columnMenuItemRemoveFilter":"Remove Filter","columnMenuItemGroupBy":"Group by this column","columnMenuItemHide":"Hide","columnMenuItemDelete":"Delete","commandBarAddRow":"Add","commandBarDeleteRow":"Delete","commandBarBatchRevert":"Revert","commandBarBatchSave":"Save","commandColumnEdit":"Edit","commandColumnDelete":"Delete","commandColumnCancel":"Cancel","commandColumnUpdate":"Update","addNewRow":"Click here to add a new row","dialogEditHeader":"Edit {{value}}","dialogAddButtonConfirm":"ADD","dialogAddButtonCancel":"CANCEL","dialogEditButtonConfirm":"OK","dialogEditButtonCancel":"CANCEL","dialogDeleteButtonConfirm":"DELETE","dialogDeleteButtonCancel":"CANCEL","dialogAddHeader":"Add Row","dialogDeleteHeader":"Delete Row","dialogDeleteContent":"Are you sure you want to delete this row?"}}
onCellValue any null
onInit any null
onRender any null
onRowInit any null
onRowInserted any null
onRowRemoved any null
onRowUpdated any null
onColumnInit any null
onColumnInserted any null
onColumnRemoved any null
onColumnUpdated any null
filtering object Please see subproperty list
editing object Please see subproperty list
loadingIndicatorPlaceholder string "Loading..."
loadingIndicatorPosition string "center"
paging object Please see subproperty list
pager object Please see subproperty list
placeholder string "No Rows"
rowDetail object Please see subproperty list
rowAdaptiveDetail object Please see subproperty list
rowMinHeight number 30
rowHeight any null
rowResizeMode string "nextRow"
summaryRow object Please see subproperty list
scrollMode string "physical"
columnHeader object Please see subproperty list
groupHeader object Please see subproperty list
header object Please see subproperty list
footer object Please see subproperty list
selection object Please see subproperty list
sorting object Please see subproperty list

Events

columnClick Event
columnDoubleClick Event
rowClick Event
rowDoubleClick Event
cellClick Event
cellDoubleClick Event
rowTap Event
cellTap Event
page Event
scrollBottomReached Event
scrollTopReached Event

Methods

clearSelection Method
ensureVisible Method
beginUpdate Method
endUpdate Method
suspendLayout Method
resumeLayout Method
render Method
clearRows Method
refresh Method