SMART datagrid v.1 > Classes > GridBase
Return Row object of the location specified by rowIndex parameter.
Throw an exception if the location is beyond the range.
$('#deleteRow').click(function () {
var row = grid.getRow(0);
if (row) {
var r = row.dataIndex();
if (r >= 0) {
dataSet.deleteRow(r);
}
}
}