Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sha yonggang on Mar 06, 2009 01:10
open dhtmlx forum
paging problem

I got lots of datas in a grid, about 4-5 thousand. So I want to use paging to enhances the performance.

I followed the example of "50,000 records in grid with paging", but got a problem.

I used xml file to load the data, if I want to paging the data, whether I need to fix the format of my xml file?

My xml file's format is like:

<screen id="XXX">
<check>
<column index="0" name="XXX" charClass="2" length="8" notNull="true" />
<column index="1" name="XXX" charClass="2" length="2" notNull="false" />
<column index="2" name="XXX" charClass="3" length="128" notNull="false" />
<column index="3" name="XXX" charClass="0" length="1" notNull="false" />
<column index="4" name="XXX" charClass="2" length="1" notNull="false" />
<column index="5" name="XXX" charClass="2" length="1" notNull="false" />
<column index="6" name="XXX" charClass="2" length="1" notNull="false" />
</check>
<combox>
<column index="3" tableId="XXX" value="XXX" text="XXX" order=""/>
</combox>
</screen>
Answer posted by dhxSupport on Mar 06, 2009 01:26
If you want to use custom xml format you should specify some variables that grid will know where in xml is datas where is settings. You can fine more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_loading_types.html#grid_art_custloadtypes