Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mauricio Cuenca on Oct 21, 2009 12:01
open dhtmlx forum
Dynamic load

Hi,

I´m trying to load 20.000 rows, so, I´m trying to do it with xmlKids....

This is the XML loaded with: grid0.loadXML()


<?xml version="1.0" encoding="UTF-8"?>
<rows parent="0">
<row id="1" xmlkids="1">
    <cell><![CDATA[- - -]]></cell>
    <cell><![CDATA[VENTA NETA 1]]></cell>
    <cell><![CDATA[- - -]]></cell>
</row>
<row id="2">
    <cell><![CDATA[- - -]]></cell>
    <cell><![CDATA[VENTA NETA 2]]></cell>
    <cell><![CDATA[- - -]]></cell>
</row>
</rows>

As an example I want to load data to row id=1, then a I got this xml loaded with grid0.kidsXmlFile

<?xml version="1.0" encoding="UTF-8"?>
<rows parent="1">
<row id="3">
<cell><![CDATA[- - -]]></cell>
<cell><![CDATA[Hijo de VENTA NETA 1]]></cell>
<cell><![CDATA[- - -]]></cell>
</row>
<row id="4">
<cell><![CDATA[- - -]]></cell>
<cell><![CDATA[Hijo2 de VENTA NETA 1]]></cell>
<cell><![CDATA[- - -]]></cell>
</row>
</rows>

The thing is:
When the grid is loaded everything looks good, row id = 1 has the plus, but if a click on it a warning message appears
and it shows me the xml path (the file that loads the kids) with the id that he is going to load, then on the screen nothing change
If I click again it brings the kid I want.


What could it be?? What´s missing??
:S

Thanks,


Answer posted by dhxSupport on Oct 22, 2009 01:49
Unfortunately we cannot reproduce this issue locally. Please check if any events are attached to your treeGrid which can block expanding\collapsing child nodes