SMART datagrid v.1 > Classes > GridView
DataLudi.GridView.getRowsOfDataIndices method
Return the array of Grid Row objects corresponding to Indexes of data row which has been transferred by indices.
function getRowsOfDataIndices (indices: [Integer], all: Boolean): [GridRow];
- Returns
- [GridRow]
- Parameters
- indices - [Integer]. required.
The array of data row
Index.
- all - Boolean. Defaults to false.
If it is
true,
it will also contain rows of which ancestor row is
Collapsed or excluded due to filtering, etc.
Code -1
// Check the updated rows.
var rows = ds.getStateRows(DataLudi.DataRowState.UPDATED);
rows = grid.getRowsOfDataIndices(rows);
grid.checkAll(false);
grid.checkRows(rows, true);
- See Also
- getRowOfDataIndex
- getRowIndexOfDataIndex
- GridRow
- GridRow.dataIndex
- DataRow
- Examples
- Row Model