SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.getRows  method

パラメーターrowIndicesで指定した位置達にある客体たちをアレイでリターンする。 

範囲から外された項目はパラメーターallowNulltrueならnullをリターンアレイに追加して、 falseならアレイに追加されない。 

function getRows (rowIndices: [Integer], allowNull: Boolean): [GridRow];
Returns
[GridRow]
Parameters
rowIndices - [Integer]. required.
allowNull - Boolean. デフォルト値はfalse.
Code -1
    var rows = grid.getRow([0, 1]);
See Also
getRow
GridRow
Examples
Hello Grid