SMART datagrid v.1 > Classes > GridBase

[ grids ver.1.3.8]   Back  Forward

DataLudi.GridBase.getCheckedDataIndices  method

Return dataIndex of Rows in checked state to array. 

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