SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.deleteCheckedRows  method

Delete all grid rows being Checked currently. 

If force is true, it will proceed without asking whether to delete, and if it is false, it will proceed after asking whether to delete according to confirmWhenDelete property of editOptions

function deleteCheckedRows (force: Boolean);
Returns
Void
Parameters
force - Boolean. Defaults to false.
Code -1
    $('#deleteChecked').click(function (ev) {
        grid.deleteCheckedRows(true);
    });
See Also
deleteSelection
deleteRows
index
EditOptions.confirmWhenDelete
Examples
Row Deleting
Check Bar