Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on May 13, 2009 03:43
open dhtmlx forum
DHTMLXGrid GroupBy

Do we get the index of Group By column. Suppose I have done group by on some column then its created 3groups. For each group we have a facility to expand and collapse. Now my requirement is when i click minus/plus button to collapse/expand of some group i want index of that group means which group i clicked either expanded or collapsed first one second one or third one.
Answer posted by dhxSupport on May 13, 2009 04:56

Actually grouping row hasnt it's own id or index. You can find out which group was expanded\collapsed using "val" attribute of the "onGroupStateChanged" event handler. 

You can try to use dhtmlxTreeGrid which has more extendec parent\child functionality. Please see more information here http://dhtmlx.com/docs/products/dhtmlxTreeGrid/index.shtml