Skip to content

Rows

Returns all rows in the data table as a JavaScript array.

1
myDataTable.Rows():Array<DataRow>

Returns

An array of DataRow objects representing all rows in the data table.

Remarks

Basic Usage:

1
var rows = myTable.Rows();

Convert a column to a value array:

1
2
3
var idValues = myTable.Rows().map(function () {
    return this.Id;
});

See Also