Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Yvan on Oct 31, 2008 07:31
open dhtmlx forum
idNode responsible for triggering the onXLE event

How can I get that information from within the function associated to this event?


Thanks
Answer posted by Support on Oct 31, 2008 07:56
There is no stable way, but next can be used

grid.attachEvent("onXLE",function(grid,a,b,xml){
    alert(xml.doXPath("//rows")[0].getAttribute("parent");
});

Also, it possible to use onDynXLS event, which fire each time when branch XML loading started, and provides item ID as parameter ( there is no relative onDynXLE event ) 
Answer posted by Yvan on Nov 04, 2008 00:20

And what about the node responsible on the onXLS event?

It should be easier, shouldn't it?

 

Thanks

Answer posted by Support on Nov 04, 2008 02:00
>>And what about the node responsible on the onXLS event?
mygrid.attachEvent("onDynXLS",function(id){
    alert("loading for "+id);
    return true; 
});