Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by dan on Jul 18, 2007 14:57
open dhtmlx forum
Multiple Column Sort

Hi

I had asked a question about multiple column sort. You had replied with a sample pro_sort.html. I tested this and found that it was working. But I am still having a problem with this. I have to sort the grid on loading of the grid in multiple columns after that only single column sort should work. So for sorting on  load, I am calling the sortrows method. I want to know how to make this sortrows method to call the custom sorting method I have written. It seems to call a default method in the Grid Code and not my custom method.Please help me with this problem.

Regards,

dan

 

 

 

 

Answer posted on Jul 19, 2007 10:08
You can define functions which grid will use while sorting rows. This technique is demonstrated in the sample pro_sort.html. If you have a function which you need grid to use for sorting you need to specify its name in setColSorting(...) method for the column you need to to sort.
Answer posted by Alexandra (Support) on Dec 06, 2014 10:46

To find more precise comments upon this issue, we can offer you read about php xml ajax and events joomla.