Disable context menu in header of treegrid

Hello,

When right clicking in the header of a treegrid, the context menu of the last selected row is displayed.
Any action from the context menu is performed on the last selected row.
How can I disable this?

Albert

As one (hackish) workaround, you could try is disabling the pointer-events for the relevant elements in your theme (pointer-events: none).

-Olli

[i]
Isn’t there a decent way to disable this?

Albert
[/i]