Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Raj on May 16, 2008 02:47
open dhtmlx forum
get column sort type in xgrid

Hi,

I am using dhtml xgrid in my application,
I am using sorting mechanism in grid using setColSorting("int,str,str,....") method.

Is it possible to know the sorting type like 'int' or 'str' using javascript ?

Is there any method supporting the above functionality?

/Thanks & Regards,
Raj
Answer posted by Support on May 16, 2008 02:58

The sorting type of column provided as one of parameters of sorting events.

There is no special API, but it can be accessed as

         grid.fldSort[column_index]