jqGrid icon indicating copy to clipboard operation
jqGrid copied to clipboard

Support row-level control of selectable rows

Open mcw0933 opened this issue 11 years ago • 0 comments

This pull request:

Adds a multiselectField property which, when set, conditionally enables/disables selectability of that row based on the field's value. Default is false (all rows are selectable).

Adds a showSelectAll property to toggle display the select all rows checkbox. Default is true (show it).

Triggers the beforeSelectRow event, per row, during a select all click.

So, for example:

multiselect: true,
multiselectField: "active",
showSelectAll: true

would give you a grid where only the rows with their "active" column value being truthy are selectable. Clicking select all will only select those rows, or they can be individually selected. The beforeSelectRow event will be fired for each of those rows.

mcw0933 avatar Feb 27 '14 22:02 mcw0933