Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Udhayabalachandar on Mar 31, 2008 01:05
open dhtmlx forum
Disable Sorting

Hi.

In My Grid I remove the

myGridbox.setColSorting("str,str,str,str,str,str,str,date,date"); this line for Sorting... When I click in the Header the Image Icon is Displayed....

Then I remove the setImage in the Grid...
How do I disable the Sorting in Grid... Is there any option... Please send me reply ASAP


Thankyou

Regards
Udhaya
Answer posted by Support on Mar 31, 2008 02:20
Basically, if you are using initialization from js code , removing the setColSorting is enough.
But you can clearly state that sorting must not be available
    grid.setColSorting("na,na,na,na,na,na,na,date,date");