PDA

View Full Version : [CLOSED] Checking the headercheck box of one grid, on checking the header check box of a different grid.



arjunrvasisht
May 08, 2015, 7:18 AM
I have a requirement, in which I have two grids with checkbox selection model. On checking the header checkbox of the first grid, i want the header check box of the next grid to be automatically checked. How do I do that. Please reply ASAP.

Daniil
May 08, 2015, 7:12 PM
Hi @arjunrvasisht,

You can select all rows by

grid.getSelectionModel().selectAll();

The header checkbox will be checked automatically.