DataLudi Grid v.1 > Classes > GridRow

Back  Forward

GridRow.getData  method

Return value located at field in this grid row. 

If this row is connected to data row of DataSet, returns value corresponding to the field location of this row. And if it is row on updating or appending, returns value saved in editing buffer. 

function getData (field: Integer): *;
Returns
*
Parameters
field - Integer. required.
Code -1
    $('#getValue').click(function () {
        var row = grid.focusedRow();
        var value = row.getData(0);
    });
See Also
setData
getRowData
getRwoObject
DataSet
Examples
Hello Grid