artakserkses
Posts: 51
Joined: Tue Feb 23, 2021 11:23 am

ContextMenu on gantt in angular

Hello again,
Is it possible to add right click event on point in gantt? I found that highcharts have custom event plugin, but I have no idea how to use this in angular :mrgreen:
(i downloaded it from npm, and ... whats next? :) )
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: ContextMenu on gantt in angular

Hi,

On our angular wrapper is an example of how to add a custom events plugin at Angular.
https://github.com/highcharts/highchart ... d-a-plugin
https://www.highcharts.com/plugin-regis ... tom-Events

Let me know if it helps you.
Best regards.
Sebastian Hajdus
Highcharts Developer
artakserkses
Posts: 51
Joined: Tue Feb 23, 2021 11:23 am

Re: ContextMenu on gantt in angular

Yeah, thats what i was looking for :) (unforunately intellij idea doesn't understand this, and gives me error, that contextmenu and dblckick isn't on PointEventsOptionObject, but it is working (// @ts-ignore :D )

Thanks :)
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: ContextMenu on gantt in angular

Hi,

I don't have any experience with intellij idea, try to ask about this error on a more general forum like stacoverflow.

Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Gantt”