Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stevo on Jul 25, 2008 02:00
open dhtmlx forum
[GRID] Display default sort image ??

Hello

Is there any way to display default sort image so that users will get hint which columns are sortable? This image would be replaced by appropriate sort_desc / sort_asc gifs on sort.
Answer posted by Support on Jul 25, 2008 02:40
You can force image showing as
    grid.setSortImgState(mode,ind,order);

    grid.setSortImgState(true,1,"asc"); //show image for second column

The image can be shown at only one column in same time. ( so it not possible to show it for multiple columns )