Any answer to this question? I want to limit the selections to no more than three. I can do this when the user selects a row by onSelectrow but the header checkbox seems to skip this event.
You do get an onSelectAll event right after the rows have all been selected or all deselected – so you /could/ use that and deselect rows “after the fact” as it were. That would probably work.
Or, you could try something like $('#cb_jqg', $(mygrid)).hide() to hide the checkbox. The only problem there is that the id of the checkbox ('cb_jqg') is not documented – so it could change.
As an aside, I think it should be changed, because right now if you have two grids, both checkboxes have the same id. Everything seems to work – but its not supported by any standard. It would be better if each grid had a unique id for the checkbox.