SMART datagrid v.1 > Classes > GridDataSet
DataLudi.GridDataSet.canAppendRow method
Return true if can append new rows in data set.
function canAppendRow (): Boolean;
- Returns
- Boolean
- Note
- When start user appending in grid view, it will check the value returned from this function first.
- In GridDataSet class, it always returns true.
Code -1
$('#append').click(function () {
if (dataset.canAppendRow()) {
dataset.appendRow(['value1', 'value2', 111, false, 222]);
}
});
- See Also
- canInsertRow
- canUpdateRow
- canDeleteRow
- canUpdateValue
- Examples
- Grid Data Set Edit
- Row Inserting