SMART datagrid v.1 > Classes > GridBase

[ grids ver.1.3.8]   Back  Forward

DataLudi.GridBase.getCheckedRowIndices  method

Return index of Row in Checked state to array. 

function getCheckedRowIndices (): [Integer];
Returns
[Integer]
Code -1
    $('#deleteChecked').click(function (ev) {
        var rows = grid.getCheckedRowIndices();
        if (rows && rows.length > 0) {
            rows = grid.getDataIndicesOfRows(rows);
            ds.deleteRows(rows);
        }
    });
See Also
getCheckedDataIndices
getCheckedRows
isChecked
setChecked
checkRows
isCheckable
GridView.getDataIndicesOfRows
GridDataSet.deleteRows
Examples
Check Bar