Suave Nti
Suave Nti

Reputation: 3739

Multi Checkbox columns in Jqgrid

I have jqgrid with 4 columns each with checkboxes format, I need to get All the checkboxes values selected and unselected values based on Column Names.Is it possible?

Updated : Grid ImageGrid Looks Like this

Upvotes: 2

Views: 2186

Answers (1)

Oleg
Oleg

Reputation: 221997

The demo from the answer shows how to add custom button in the column header of jqGrid. In the click event handler you can enumerate all rows of the grid and set the column contain to true or '1' depend on the way how you defined the column. In the way you can implement your requirements.

Upvotes: 2

Related Questions