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.