Discuss anything related to web development but no technical support questions


Post by Stanleyliu1006 »

Hi

I have two questions on the eventTools

(1) How to display eventTools for specific type of event (which is one of property of event store record), i saw your document say it has targetNode property to trigger the event tools component to be shown, can you please specify how to use it or what other solution i can restrict to display the eventTools component.

(2) How can i display the eventTools under the event rather than above. like the screenshot below. Because i already has tooltip of the event, which makes the eventTools and default tooltip overlapped.


Kind regards
Stanley
Attachments
Screenshot.png
Screenshot.png (40.25 KiB) Viewed 1592 times

Post by mats »

1. See the code snippet in the docs where a 'visibleFn' is called for each action item. https://www.bryntum.com/docs/scheduler- ... EventTools

2. Alignment is hardcoded for now, we'll get that fixed for next release to make it configurable

Post by mats »

Even cleaner would be to add 'tools' to your event tooltip config so you have everything in one tooltip.

Post by Stanleyliu1006 »

Thanks mats.

That solved my problem.

Post Reply