Categories | Question details Back To List | ||
onOpenEnd event not being called Hi, We are using DHTMLX 2.0 tree grid control. When I click on the + sign to open a tree, the control sends a request to the server to fetch data that will be displayed in the grid as child rows. During this process we want to display a message to indiate that data is being fetched. Attaching onOpenStart to a function to perform this display works fine. But, once the data is fetched, the onOpenEnd event is not fired, where we clear the message. Here's the sample code. I added alerts to this function to see if it is being called and it doesn't seem to be called at all. Please let me know if I am missing anything here. mygrid.attachEvent("onOpenEnd",OnOpenEndHandler); function OnOpenEndHandler(id,m) { //only if we are opening if (m==1) { hide_gridloading_popup(); } return true; } Thanks Murali Answer posted by Support on Jan 16, 2009 03:34 Problem can't be reconstructed in local samples ( working sample sent by email ) By the way, instead of onOpenStart | onOpenEnd , you can use onXLE and onXLS , which works for all data loading operation including dyn. loading in treegrid. Answer posted on Oct 27, 2009 10:53 I am having the same issue. Was this ever resolved/figured out? It seems maybe a library file is messed up, or there is something more to do besides attaching the event to the grid? thanks. Answer posted by Support on Oct 28, 2009 09:21 Issue with "onOpenEnd" event was confirmed and fixed. Fix will be included at the next dhtmlxTreeGrid version. |