I do not want to have sorting on some of the grids in my application. While I have suppressed the sort action, the up/down sort arrows are still appearing in the column headers.
I tried using setSortImgState(false) but it did not work:
The arrows do not show up initially, but when you click on the column header they show up.
I saw another post where the recommendation was to replace the image files with “transparent” images, but I cannot do this as I have other grids in my application where I DO want the sorting.
mygrid.setSortImgState(false); is not working for me either. Should there be another support file besides the required library file: dhtmlxgrid.js? I have a multiple row header and am wanting to hide the sort arrow (both ascending & descending) on a particular header cell so I would like to define it by row/column. Every variation of mygrid.setSortImgState() is not working for me.
I added this code and an “alert” message. When the grid is displayed and user clicks on a column, the alert message pops (indicating that the event was received OK). However, as soon as I dismiss the alert pop-up the sort arrow appears on the column.