Our pure JavaScript Scheduler component


Post by tjmeal »

Dear all,

i have a serious problem on scheduler's dialog save button > on which i am trying to pass the data.

When i am trying to update for second time after fetch the same object > for some reason > props.source.up().up().loadedRecord > returns null.

I dont know if you would be able to debug without the source code > also all those are related to the custom intermediate stops i have added.

If you see the second video > if the intermediate stops are empty > props.source.up().up().loadedRecord > is always null > the first time and every time.

Would be possible to give me a time in UTC maybe tomorrow > where i can send you a sample project which you can run and i will be waiting on my pc for your questions ? so i can reply asap send and explain on the spot?

At screenshot attached you will see the code of a custom PopupComponent which uses "values" from popup it works perfectly with 100% same logic. And i want to do the same on the Record Scheduler Event Dialog but is impossible difficult... I need a stable way to pass the updated/create object of the scheduler dialog.

Attachments
Screenshot 2025-03-14 at 19.46.59.png
Screenshot 2025-03-14 at 19.46.59.png (365.53 KiB) Viewed 3967 times
Screen Recording 2025-03-14 at 19.43.49.mov
(15.55 MiB) Downloaded 11 times
Screen Recording 2025-03-14 at 19.33.37.mov
(11.81 MiB) Downloaded 11 times

Post by alex.l »

Hi,

I don't see any public property with the name loadedRecord in our docs. What are we talking about?
Yes, runnable demo might help here to understand the problem. Please attach it with steps to reproduce described and reference to API you used, I might missed something.

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post by tjmeal »

Hello,

Thanks a lot for your reply, i know that this is a very difficult issue to understand. > i cant even determine exactly when it excactly happens its a bit unstable. but the way to100% see the error is.

1) Create a new record from grid table
2) open the scheduler
3) Assign a resource to the appointment
4) Open event dialog and create an input (intermediate stop) > add a value > save ( do that as many times until the error thrown)

  • on the video attached it happens on the second time > but the logic is > open event dialog > add one input > save > open again dialog > add second save > and the error will occur.

Please find attached my project > and also the steps to run it will be find on the following link> viewtopic.php?p=158183#p158183

Attachments
n_travel_web_dash copy.zip
(20.5 MiB) Downloaded 4 times
Screen Recording 2025-03-17 at 10.39.20.mov
(6.75 MiB) Downloaded 4 times

Post by mats »

This question involves too much application code, if you need help reviewing/debugging your application we recommend buying some Professional Services hours. https://bryntum.com/services/


Post by tjmeal »

Thanks


Post Reply