ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: Leo F on March 13, 2014, 08:56:36 am

Title: multi select cells to delete values
Post by: Leo F on March 13, 2014, 08:56:36 am
What would be a good approach to take to be able to select multiple cells and be able to call delete on them?
I know there is api already to allow selecting multiple cells, how can I check which ones are selected and do some kind of processing on them?
Title: Re: multi select cells to delete values
Post by: paramvir on March 13, 2014, 09:12:37 am
There is a getSelection method which returns selected rows / cells.

There are methods which allow to add, update / delete data i.e. addRow, updateRow, deleteRow.

You can also work directly with dataModel.data which is an array of objects.