SMART datagrid v.1 > Classes > GridRow

Back  Forward

DataLudi.GridRow.getRowData  method

Return all field values of this grid row as array. 

If this row is connected to the data row of DataSet, it will return the values of the corresponding row. If it is the row being updated or appended, it will return the values of edit buffer. 

function getRowData (): [*];
Returns
[*]
Code -1
    $('#moveValues').click(function () {
        var row = grid.focusedRow();
        if (row && row.dataIndex() >= 0) {
            var values = row.getRowData();
            grid2.dataSource().appendRow(values);        
        }
    }
See Also
getData
getRwoObject
DataSet
GridDataSet.appendRow
Examples
Hello Grid