Displaying sort indicators with Smart Rendering

I have dhtmlxGrid and I’m using Smart Rendering.

I want the user to be able to sort by clicking on the headers. I realise this can’t be done by dhtmlxGrid itself, so I can get the sorted data from the server OK.

However, I’d like to be able to set the sort indicators in the grid headers (as if dhtmlxGrid was doing the sorting). Is there any way I can set these indicators myself?

It can be done by


      *    @param: state - true/false - show/hide image
      *    @param: ind - index of field
      *    @param: direction - ASC/DESC - type of image
      *    @param: row - zero based index of header row, optional, used in multirow headers, top row by default