Sorting on Grouped columns bug when expand/collapse

Hi, there’s an issue with sorting when the columns are grouped. Try expanding and collapsing column “2008”. Notice the sort of the “January” column keeps changing everytime the parent node is clicked.

http://webix.com/snippet/87c01e4b

my fix was to add this:

onHeaderClick: function (id, e, trg) {
	if (trg.getElementsByClassName('webix_tree_close').length > 0 || trg.getElementsByClassName('webix_tree_open').length > 0) {
		return false;
	}
	return true;
}

Can someone from Webix tell if this is a defect or behaves as expected?

Hi,

Thanks for pointing the issue, we’ll fix this in the nearest future. But for now, your solution is quite appropriate.

Please notice that the issue is still reproduced on version 4.2.1