When clicking on groupheader all the records in that group are not getting selected and unselected Group Header and checkboxes code