Premium support for our pure JavaScript UI components


Post by maria »

Hy Bryntum Team,

We are using react and Bryntum Scheduler. When we are loading the Scheduler sometimes it does not assign the row id to the div. By default we have the Scheduler closed/hidden and as we open it, in some cases it's assigning the Id to the row and it works great, but sometimes it does not assign the id to the row div and we are starting to have problems. To investigate this problem I need your help to understand how this can happen and at what point. My question is where the id gets assigned to the row and what could be the potential reasons if it is not assigned or can I assign it by myself at some point, if yes -> where and how.
Please see attachements, one is showing that div does not have an id and the second one shows that it has an id. The function that cretaes resources and populates them is the same for both cases. I do assign data-id which comes from resourceId automatically I guess, but how can I assign the id?

Thank you,
Maria

Attachments
NoIdTotalsRow.PNG
NoIdTotalsRow.PNG (96.54 KiB) Viewed 177 times
IdRowTotalsExist.PNG
IdRowTotalsExist.PNG (105.45 KiB) Viewed 177 times

Post by mats »

he id to the row div and we are starting to have problems.

Can you please describe the problems you face? Any chance you can share a test case with us?


Post by maria »

Hi Mats,

Thank you for a quick reply. Sure, I can tell you more. If the row id is not assigned it starting to keep those resources and reosurceTimeRanges in relationCache object that is the part of resourceStore object and on the UI side we have resource Time Ranges overlapping on the top of each other. I cannot create a test case scenario since our project is way too complex and the problem can be anywhere, so that is why I was thinking to get help on understanding how and where this id gets assigned to the row, or if I can assigned it by myself when I do render resourceName shown. Maybe there are some settings or configs that I can look for that will help me to find the problem?


Post by marcio »

Hey maria,

Thanks for bringing more information. Are you trying to define the id of the row or providing any customization regarding that? Without a minimal test case, it's really difficult to point out what could be done in this situation.

Best regards,
Márcio


Post Reply