SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.getRows  method

Return Row object which is in the location specified by rowIndices as array. 

If parameter allowNull is true, the item beyond the range will add null to return array, and if false, it will not add. 

function getRows (rowIndices: [Integer], allowNull: Boolean): [GridRow];
Returns
[GridRow]
Parameters
rowIndices - [Integer]. required.
allowNull - Boolean. Defaults to false.
Code -1
    var rows = grid.getRows([0, 1]);
See Also
getRow
GridRow
Examples
Hello Grid