Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by andreea on Aug 01, 2008 07:27
open dhtmlx forum
it's possible to order by a noname column

it is possible to order by a no name column . How do I disable ordering for that column (witch has no name)?
Answer posted by Support on Aug 04, 2008 06:20

The columns in grid accessible by their indexes , any column has index - so you can execute command against any column

>>How do I disable ordering for that column (witch has no name)?
Can be done as part of grid initialization
         grid.setColSorting("str,na,str,str");

parameter of method - list of sorting type values for related columns, na - means not-available.