SMART datagrid v.1 > Classes > GridBase
目前具有输入焦点的网格行的数据组内索引。
可以通过focusedRowIndex而得知网格行索引,并且可以通过focusedIndex而得知单元格位置。
$('#delete').click(function () {
var row = grid.focusedDataIndex();
if (row >= 0) {
dataset.deleteRow(row);
}
});