:: Forum >>
PLEASE HELP!! Sorting issues
I have a grid, and the data is being loaded dynamically via an AJAX call. So far, fairly generic.
The first column of the grid (not column zero (0), which contains an ID, but the first DISPLAYED column, one (1)) contains a column of dates. The dates are being displayed correctly, no problem.
However, I need to be able to dynamically sort the grid on the first column.
I have looked - and looked and looked FOR HOURS - in the support forum. There were some loosely related topics, but nothing directly on point. I just need the method and the parameters that will allow me to sort on column number one. Something along the lines of this:
Mygrid.sort(1);
However, of course, this doesn't freaking work. So, can you tell me the correct syntax?
Thanks,
nb
Neil Bailey
Friday, July 7, 2006
Try refresh after the sort...
Mygrid.sort(1, "ascending");
Mygrid.refresh();
Mike
Friday, July 7, 2006
PERFECT. The syntax for the 'sort' method is really what I needed. Thank you SO much!
Neil Bailey
Friday, July 7, 2006
This topic is archived.
Back to support forum
Forum search