Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rustamjon Mukhammadaliyev on Apr 02, 2009 23:17
open dhtmlx forum
btag in dataprocessor

Hi there,

I receive new version of dhtmx. And i found in setOnAfterUpdate callback function new parameter btag.

Can I use it get custom attributes?
And Please try to improve documentation of your product. It's really poor.

Thanks in advance.
Answer posted by Support on Apr 03, 2009 03:14
>>Can I use it get custom attributes?
Additional object - reference to "action" xml tag in response
So if you have some custom attribute defined - it can be accessed as
dp.attachEvent("onAfterUpdate",function(a,b,c,tag){
     var some = tag.getAttribute("some_custom");
})

Similar functionality was available in older versions of dataprocessor as well, through defineAction method, you can check Custom server side responses section of 
http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Dataprocesor_usage.html#grid_art_dataprocessor
( it is supported in 2.1 as well ) 

>>And Please try to improve documentation of your product. 
This is main goal of next update.