Datatable: Sortable grouped columns

http://docs.webix.com/samples/60_pro/01_datatable/06_api/12_group_columns.html
I am trying to modify the code from that page to make the grouped columns sortable. The problem is that once I add sort: “server” to one the grouped columns every time I expand/collapse them I may also accidentally trigger sorting by that column, which is not what I want. Is there a way to trigger sorting only when I click on the second raw in the header (the names of the months in the example)?

You can try to use onHeaderClick event

http://docs.webix.com/search.php?query=onHeaderClick

Inside of event handler, you can check the target parameter and return false if sorting must not be executed for click in question.

Cool! This did the job)

this helped me. thanks!