Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Velmurugan on May 27, 2009 06:06
open dhtmlx forum
check/uncheck subgrid checkboxs using parent grid checkbox?

Hi,
I purchased this professional edition of dhtml suite. I need to implement check/uncheck functionality in grid with subgrid.
i have set of records. Each and every row in parent grid, have its sub records. By clicking the (+) symbol in the first row of the parent grid, it should expand and display corresponding subgrid records which associated with the first row of the parent grid.The subgrid's first colum also check box column ie master checkbox. By check/uncheck subgrid's master checkbox, it should check/uncheck all the subgrid's records.
when i check/uncheck the parent master checkbox, it should check/uncheck all the checkboxs in the parent grid, as well as the all the subgrid check boxs also. when i check/uncheck the any one of the checkbox in the parent grid, it should check/uncheck the corresponding subgrid's check boxes only.

 Please send the sample code with experiment me the above scnario.
You have sent a code earlier. But it is not satisfied my scnario.

Thanks,
Vel
Answer posted by Vel on May 27, 2009 06:10
Here i have attached the screenshot which shows my snario. In this screen shot, tick mark indicates as  check box checked. Please give the code which exactly satify my reqirement. here i can able to edit the fields, i can save it to the database using data processor. And in server side(php page) i want access all the check box values, from parent gris and subgrids. thanks.
Attachments (1)
Answer posted by dhxSupport on May 27, 2009 09:16
Ufortunately it's impossible to do using sub grid. You can try to use dhtmlxTreeGrid which has more extended parent-child functionality. Please see more information here http://www.dhtmlx.com/docs/products/dhtmlxTreeGrid/index.shtml