In jqGrid, when you attempt to delete a row or set of rows, a confirmation box pops up saying
Delete selected record(s)?
I would like to add checkboxs and possibly other html controls to the confirmation box, that would add conditions to this delete operation.
An example of a condition would be flags to decide of to delete related items.
for example, the confirmation popup would have to following information:
You are about to delete (x) items
<input type="checkbox" name="condition1" value="condition1">Condition 1
<input type="checkbox" name="condition2" value="condition2">Condition 2
Of course I would also like to post these inputs back to the server along with the defaults posted by jqgrid delete.
So my questions are
- how to add HTML form elements to the JQgrid delete confirmation Pop up
- how to post the form's variables to the server