Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ez on Feb 24, 2009 05:22
open dhtmlx forum
subGrid - clicking oin sorting header closes subgrid

As in topic:

I have grid, with subgrid eXcell.
In my subgrid sorting is enabled on all columns bud clicking on header closes the subgrid - sorting works ok but now subgrid is hidden.


Steps to reproduce:

In example file "Grid linked to grid" enable sorting and try to sort on any column
Answer posted by Support on Feb 24, 2009 10:09
To change behavior in necessary way you can add the next line

     subgrid = new dhtmlXGridObject('gridbox_sub');
     dhtmlxEvent(subgrid.entBox,"click",function(e){ (e||event).cancelBubble=true; });