SMART datagrid v.1 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.getValue  method

If the cell of this location is a valid data cell, it will return the value of cell. 

If it is not a data cell, it will return undefined

function getValue (): *;
Returns
*
Code -1
    $('#getValue').click(function () {
        var index = grid.focusedIndex();
        if (grid.isValidCell(index)) {
            $('#value').val(index.getValue());
        }
    });
See Also
rowIndex
column
getRow
Examples
Focused Cell