Is there a way to toggle the multiselect option of a grid?
Changing the multiselect parameter of the grid and calling for a reload has the side-effect of leaving the header behind when disabling or not creating the header column if multiselect was not TRUE upon the grid creation.
The closest I have come is setting multiselect to TRUE upon grid creation and using showCol and hideCol to toggle: $('#grid').showCol('cb').trigger('reloadGrid');
This has a side effect of changing the grid width when toggled. It appears the cb column width is reserved when it is not hidden.
Basically I'm attempting to create a grid with a “edit/cancel” button to toggle the multiselect — very similar to how the iPhone/iPad handles deleting multiple mail or text messages.
Thank you in advance.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top