Categories | Question details Back To List | ||
grid expand group & collapse group attachEvent Hi, Is there a way to attach to an expand group or collapse group event? Thanks, Steve Answer posted by Support on Oct 09, 2008 07:24 There is an inner event "onGroupStateChanged", which occurs when some group closed|opened, but it doesn't provide any useful parameters Answer posted on Oct 09, 2008 07:29 Can you post a snippet of code on how I would do this? Answer posted by Steve Schreiner on Oct 09, 2008 07:35 Basically when the user double clicks on the groups header, I want to be able to react to that. So is there a way to add the inner class off of the grid to do this? Answer posted by Support on Oct 09, 2008 07:53 grid.attachEvent("onGroupStateChanged",function(){ //will be called each time when group closed or opened }) Answer posted by Support on Oct 09, 2008 07:55 >>when the user double clicks on the groups header, I want to be able to react to that. Can be done only by code customization. ( dhtmlxgrid_group.js , line 225 t.ondblclick=function(e){ ... ) |