1
Help for ParamQuery Grid (free version) / Problem in check box column (insert, update one row, delete multiple rows)
« on: October 12, 2020, 04:13:01 am »
Hello PQ team!
I am creating a screen like this example
(https://paramquery.com/pro/demos33/editing)
that has "edit/update, cancel" column. Further more,
I have to add "check box" column at the first column in the grid,
and "delete button" in toolbar so that user can choose multiple rows for deleting.
My problem is... My check box column doesn't work correctly.
Maybe the reason is
//make rows editable based upon the class.
editable: function (ui) {
return this.hasClass({ rowIndx: ui.rowIndx, cls: 'pq-row-edit' });
}
just one row can be edited (checkbox in that row can be checked) when "edit" button in "edit/update, cancel" column is clicked.
Does anyone know the proper way to do this?
I am creating a screen like this example
(https://paramquery.com/pro/demos33/editing)
that has "edit/update, cancel" column. Further more,
I have to add "check box" column at the first column in the grid,
and "delete button" in toolbar so that user can choose multiple rows for deleting.
My problem is... My check box column doesn't work correctly.
Maybe the reason is
//make rows editable based upon the class.
editable: function (ui) {
return this.hasClass({ rowIndx: ui.rowIndx, cls: 'pq-row-edit' });
}
just one row can be edited (checkbox in that row can be checked) when "edit" button in "edit/update, cancel" column is clicked.
Does anyone know the proper way to do this?