SMART datagrid v.1 > Classes > GridDataSet
Return true if can insert new data row in row location.
$('#insert').click(function () {
// In grid, it inserts new row in the focused location.
var rowIndex = grid.focusedRow().dataIndex();
if (dataset.canInsertRow(rowIndex)) {
dataset.insertRow(rowIndex, ['value1', 'value2', 100, true]);
}
});