Clicking the sorting arrow in a grid column produces a bug

I have the following event.

gantt.attachEvent('onGridHeaderClick', (columnName, _e:) => {});

which gets triggered when the user clicks on a grid column.

However, I noticed that if the column has the sorting arrow and you click on it (the sorting arrow) then the columnName param inside the onGridHeaderClick callback function is null.

Hello,

You can fix this by adding the following CSS:

.gantt_sort, .gantt_desc {
    pointer-events: none;
}

Please see an example: DHTMLX Snippet Tool