SMART datagrid v.1 > Classes > GridDataSet
Delete all existing data of data set and fill with the rows within the range which is specified by start and count among the rows transferred by rows.
If checkStates is true, it will initialize the state of data rows by rowState value. After appending rows, onRefresh, onRowCountChanged events will be fired in order.
ds.setRows([
['val1', 'val2', 222, 333],
{
'field1': 'val22',
'field2': 'val33',
'field3': 555,
'field4': 777
},
...
]);