SMART datagrid v1.4 > Classes > GridBase
DataLudi.GridBase.setFocusedCell method
매개변수 rowIndex와 column으로 지정한 데이터셀로 포커스셀의 위치를 변경한다.
rowIndex는 index나 행 객체일 수 있다. setFocusedIndex를 참조한다.
function setFocusedCell (rowIndex: Integer|GridRow, column: GridColumn, focus: Boolean, select: Boolean): this;
- Returns
- this
- Parameters
- rowIndex - Integer|GridRow. required.
- column - GridColumn. required.
- focus - Boolean. 기본값은 false.
- select - Boolean. 기본값은 true.
Code -1
var col = grid.getFirstColumn();
grid.setFocusedRow(10, col);
var row = grid.getRow(11);
grid.setFocusedRow(row, col);
- See Also
- focusedIndex
- setFocusedIndex
- setFocusedRow
- GroupRow.collapsed
- GridRow
- CellIndex
- Examples
- 포커스셀