Page 1 of 1

[INFO REQ] Button for headerMenu

Posted: Mon Apr 18, 2022 6:22 pm
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


Re: [INFO REQ] Button for headerMenu

Posted: Mon Apr 18, 2022 6:57 pm
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


Re: [INFO REQ] Button for headerMenu

Posted: Mon Apr 18, 2022 10:26 pm
by alex35

Thank you, seems to work perfectly.