SMART datagrid v.1 > Classes > CellIndex
调整值,以便该CellIndex可以指定有效的位置。
重新进行设置,以便在rowIndex大于0并小于GridBase.rowCount,并且column是null时,使之成为显示在网格上的第一个列。
$('#focus').click(function () {
var index = grid.focusedIndex();
if (!grid.isValidCell(index)) {
index.normalize();
grid.setFocusedIndex(index);
}
})