Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kunal on Dec 03, 2008 23:03
open dhtmlx forum
tree grid object

hi..

I have used custom xml format ie xmlB in Dhtmlx grid case..
Now i want to use custom xml format for tree grid also..
So please tell me how do I load tree grid using custom xml format..?

my xml format is
<List>
<row>
<cell1></cell1>
<cell2></cell2>
</row>
<row>
<cell1></cell1>
<cell2></cell2>
</row>
</List>

Also tell me how do I specify the mygrid.kidsXMLFile as xml string..?

Answer posted by Support on Dec 04, 2008 02:54
>>So please tell me how do I load tree grid using custom xml format..?
Unfortunately it not possible in current version

>>Also tell me how do I specify the mygrid.kidsXMLFile as xml string..?
You can use onDynXLS event as

mygrid.attachEvent("onDynXLS",function(id){
//will be called each time when xml for element {id} need to be loaded
    mygrid.parse(some_xml_string_for_id);
    return false;
});