There are many ways to get the values of the partial or entire rows of GridDataSet.
Get the value of one field. Please refer to getValue.
Get the values of one row to the array. Please refer to getValues and getRow.
Get the values of one row to JSON object. Please refer to getRowObject.
Get one or more rows to the array of which rows are composed of array. Please refer to getRows.
Get one or more rows to the array of which rows are composed of JSON object. Please refer to getRowObjects.
Get all rows. If do not specify the parameter when calling getRows or getRowObjects, it will get the entire rows.
btnGetAll_click: function () {
var rows = dsMain.getRows();
dsMain2.setRows(rows);
}
Get the specified field values of the entire rows or the rows contained in the specified range.
Get the only values eliminating the duplication of the specified field.