SMART datagrid v.1 > Classes > GridRow

Back  Forward

DataLudi.GridRow.getValue  method

Return field value which is located in field of this grid row. 

If this row is connected to the data row of DataSet, it will return the value corresponding to field location of the corresponding row. If it is the row being updated or appended, it will return the values of edit buffer. You can call setData to update field value. 

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