SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.eraseSelection  method

Initialize the values of selected area as undefined

The cells of column which erasable is false will not be initialized (ver1.3). deleteSelection will be used to delete the selected rows. 

function eraseSelection ();
Returns
Void
Code -1
    $('#clearSelection').click(function () {
        grid.eraseSelection();
    });
See Also
deleteSelection
DataColumn.erasable
undo
redo
Examples
Undo & Redo