Our blazing fast Grid component built with pure JavaScript


Post by alex35 »

Hello,

I'd like to add a button to activate the headerMenu instead of just the right click. Is there any support for this or would I have to use regular DOM event listeners? And if I have to use the listener do I need to fire an event to right click the header or are there any built in functions to help with this?

Thanks


Post by mats »

Yes it's supported and you can use this method to show the menu programmatically: https://bryntum.com/docs/scheduler/api/Grid/feature/HeaderMenu#function-showContextMenu


Post by alex35 »

Thank you, seems to work perfectly.


Post Reply