SMART datagrid v.1 >  Classes >  GridBase
DataLudi.GridBase.setFocusedRow  method
パラメーターrowIndexで指定した行でフォーカスセルの位置を変更する。 
rowIndexはindexや行客体であり得る。 既存フォーカスセルのカラムの位置は変更せずに行の位置だけ変更する。 rowIndexがグリッド行でその祖先行が折り畳まれた状態である場合、 まずグリッド行が表示されるようにする。 
#.setFocusedIndexを参考する。 
function setFocusedRow (rowIndex: Integer|GridRow, focus: Boolean, select: Boolean): this;
- Returns
 - this
 
- Parameters
 - rowIndex - Integer|GridRow. required. 
 - focus - Boolean. デフォルト値はfalse.
 - select - Boolean. デフォルト値はtrue.
 
Code -1
    grid.setFocusedRow(10);
    var row = grid.getRow(11);
    grid.setFocusedRow(row);
- See Also
 - focusedIndex
 - setFocusedIndex
 - setFocusedCell
 - GroupRow.collapsed
 - GridRow
 - CellIndex
 
- Examples
 - フォーカスセル