We are just trying to use the groupings and locking row feature in the scheduler, but for some reason, the display is not as we expected. The locking rows feels like cloning the whole content of the grid and not rendered correctly. Can someone help me with this. Thank you!
I have tried to replicate the issue but was not able to do so. I have checked it on https://bryntum.com/products/scheduler/examples/lock-rows/. Attaching a clip to show the behaviour. Can you please check it and let us know if I missed something?
We have already seen the given example and applied it to our project, but it is still not working. Can you possibly write a sample code using the React version of the scheduler that implements groupings and locks rows together? Thank you!
As for a reference this is how we import all of the Bryntum scheduler packages for our react project.
Indeed, locking rows works with the groupings in the example provided. However, upon checking, this does not work well with data that needs to be fetched via api and inserted into the store using the .add method. If possible, could you provide an example of how to implement it?
If I understand correctly, you are not using our api's to load data. If yes, then I am not sure which method you are using to load data into store. But the recommended way of doing that is using loadInlineData method https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelMixin#function-loadInlineData. Can you please try with this? If this does not work, can you share a small sample project with us? You can use the above example and add your bits of code into it.
I believe you will have to remove the records from the store as well, if there are any. But I have tried testing the feature with loading data using loadingInlineData and it works without any issues. We recommend using this method instead of add on the individual stores. Please check the clip and test app:
I think it will only work if the data are already completed. But on our case we loaded thousands of data and we process it by batch. That is why on our code, we used the .add method because it will just add the upcoming data from the old data in the scheduler. But on your example where having an issue implementing it. Thank yoU!
Alright, I can understand your usecase. Lock rows should be working with that too and if it is not, it might be a bug on our side. We really need a test case to debug this. Please share one.