Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Matthew C. on Jan 25, 2008 12:14
open dhtmlx forum
Sorting with paged girds

We've bought the enterprise license and I'm not sure if this is the correct way to get support ... but I've been having problems with the sorting function on paged grids.


Field1 is set to sort strings ... but it doesn't seem to work at all correctly. It's not even a matter of case or anything like that. I can't figure it out. It works fine if I don't use paging.

Here's the code so you can take a look:

http://wpbb.solutions360.com/test/displaysqlreport.php


Also ... while I have your attention ... how do a set a row color from the loaded xml?
Answer posted by Stanislav on Jan 25, 2008 15:53
You have in your xml next lines
	<row><cell> </cell>

The row tag must have unique ID attribute

<row id="some_uid"><cell> </cell>
If row has not IDs, or they not unique - grid can't differ rows and as result many operations ( including sorting ) work in not expected way.