SMART datagrid v1.4 > Classes > GridBase

Back  Forward

DataLudi.GridBase.getRows  method

매개변수 rowIndices로 지정한 위치들에 있는 객체들을 배열로 리턴한다. 

범위에 벗어난 항목은 매개변수 allowNulltruenull을 리턴 배열에 추가하고, false면 배열에 추가되지 않는다. 

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