PDA

View Full Version : CheckboxModel deselection problem



amsoft2001
17 Jun 2014, 9:14 AM
Hi,

I am using CheckboxModel on a grid and facing a trypical problem. I am selecting few records (I have a list of previously selected ids) while loading the grid. Now say if there are 4 records in the store and I set 3 of them as selected, then the grid behaves normal. I can click on the header checkbox and check / uncheck all and even check / uncheck individually. But whenever I set all records selected [ (this.getTrackerGrid().getSelectionModel().selectAll(false) ], All the checboxes are checked expect the header checkbox and now the major problem is I cannot check / uncheck any of the checkbox now and cannot click / check the header checkbox as well. In a word, the checkboxes become readonly :(

amsoft2001
23 Jun 2014, 4:52 AM
Is anyone there who can help me please?