I would like to select one or multiple rows and then delete

I would like to select one or multiple rows and then
delete them.  How do I go about doing this?  I need to somehow update
our database and then refresh the page.


Grid support multiselection:


           
grid.enableMultiselect(true)


and next command can be used to delete selected rows:


           
grid.deleteSelectedItem()

Basically there are two methods of saving:


a) Serialization the whole TreeGrid to XML ( will have
the same format as initialization XML and send it back to server ).
Serialization can be configured in the way, so only changed rows will be
serialized.


b) You can use dataProcessor lib, it works in the same way as with
dhtmlxGrid, please refer to guide (“Data Processing and link with Server
Datasource” section)