Start Building Professional
Web Apps Today


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

I want to Disable Sorting in DHTML Grid.. How it is possible?

If suppose I remove the setColSorting and SetImagePath in my Grid...

a image with cross symbol is displayed when click in header....

How to prevent to display the image in the sorting....

Please send me a reply ASAP


Thanks
Regards
Udhayabalachandar
Answer posted by Support on Mar 31, 2008 02:15
>>and SetImagePath in my Grid...
You must not remove setImagePath command, because images used in grid not only for sorting, but in other situations as well

>>I remove the setColSorting
Removing setColSorting, or using na as parameter, will block sorting
    grid.setColSorting("na,na,na,na");

>>How to prevent to display the image in the sorting....
If you disabled sorting image must not appear, you can hide it at any time by next command
    grid.setSortImgState(false)