Jan 07, 2015, 3:41 PM
[CLOSED] TreeGrid : Check child checkbox with parent checkbox checked
Hi,
In this Post http://forums.ext.net/showthread.php...l=1#post228801 I create a TreeGrid and Load data with proxy,and now I want to add a functionality in this TreeGrid.please see the attached image.
I have three label data in the TreeGrid.now need if
1.I check P1 for Module1 then all P1 checkbox under Module1 is get checked automatically.and if unchecked then unchecked all.
2.then for SubModule,if I check P1 of SubModule1 then all Menu under submenu will check and for uncheck all unchecked
so I think the logic is every checkbox checked if its parent checkbox is checked and unchecked if parent is unchecked ,but end child can be select manually.
you can get a idea what I wan to do.LOGIC
In this Post http://forums.ext.net/showthread.php...l=1#post228801 I create a TreeGrid and Load data with proxy,and now I want to add a functionality in this TreeGrid.please see the attached image.
I have three label data in the TreeGrid.now need if
1.I check P1 for Module1 then all P1 checkbox under Module1 is get checked automatically.and if unchecked then unchecked all.
2.then for SubModule,if I check P1 of SubModule1 then all Menu under submenu will check and for uncheck all unchecked
so I think the logic is every checkbox checked if its parent checkbox is checked and unchecked if parent is unchecked ,but end child can be select manually.
you can get a idea what I wan to do.LOGIC
Last edited by Daniil; Jan 21, 2015 at 4:46 PM.
Reason: [CLOSED]