Our pure JavaScript Scheduler component


Post by rizwansaleem70 »

Hi Bryntum Team. This is Rizwan Saleem. I want to add more fields to existing event modal.
I tried this https://www.bryntum.com/docs/scheduler-pro/api/Scheduler/feature/EventEdit
but it created another modal and event edit option in dropdown as well when we right click on event. Please guide me how I can add fields in same/existing modal..
Thanks


Post by mats »

Hi there, we have made this guide to show you how to edit the dialog fields. Did you read it? https://bryntum.com/docs/scheduler/guide/Scheduler/customization/eventedit

If you have further questions, please don't hesitate to ask :)


Post by rizwansaleem70 »

Hi. I attached the video. In this, when we add new event or double click on existing one, we saw different eventModal but when we click on option of edit event we saw different event with extra fields that we added manually in the code. How can add the new fields to the first modal whose title/header was "Information".
In your example https://bryntum.com/docs/scheduler/guide/Scheduler/customization/eventedit everything works fine as per my need but in my case, its not working
Thanks

Attachments
Resource Management Tool - Google Chrome 2022-07-04 20-36-22.zip
(8.63 MiB) Downloaded 34 times

Post by marcio »

Hi Rizwan,

Could you please share your Scheduler configuration?? Or a sample project that we could analyze and check what could be causing that behavior in the video??

Best regards,
Márcio


Post by rizwansaleem70 »

Here is runnable test case... :)

Attachments
eventModal.zip
(94.48 KiB) Downloaded 32 times

Post by tasnim »

Hello Rizwan,
You need to turn off the taskEdit feature. You have enabled eventEdit feature and taskEdit feature is enabled by default in schedulerpro, So that's why both are firing. if you turn of the taskEdit feature you'll get the eventEditor.

Attachments
Screenshot 2022-07-05 114135.png
Screenshot 2022-07-05 114135.png (79.26 KiB) Viewed 443 times

Post by rizwansaleem70 »

Thank you :)
It works


Post Reply