Datatable sort indicator

hi there,
when a datatable is initialized it does not show any sort indicator. I would like to be able to show by which column the table is currently sorted by even before i clicked a table header (in our case this might change every time the table is sorted as the column we use for sorting is stored in the session and evaluated when the datatable content is populated). At the moment the indicator only appears once i click in a column header to sort by this column.
Regards, Marc

Hi. You can use the markSorting method when datatable is initialized.

Please, check the related part of the docs:

http://docs.webix.com/datatable__sorting.html#programmaticsorting

Ant the snippet:

http://webix.com/snippet/5de83bce

Thanks.