SMART datagrid v.1 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.getValue  method

この位置のセルが妥当であるデータセルならセルの値をリターンする。 

データセルでなければ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
フォーカスセル