We have an Scenario, where we need to use a Custom Defined Lightning Web Component when we click on any Section of Grid section of Calendar/ Grid Section (Adding/ Editing event).
Is there any way invoke function from EventEdit Config from where I can instantiate dynamic component?
Thank you Team for the prompt response, It is currently working.
I've last queries which is not related to this thread! But I'm adding this comment as it is an active thread.
The question is how to get changes from the Calander object?
for Gantt and Scheduler we have the ProjectModel for adding event store and resource stores, and later handle the change from 'onDataReady' event and get data from 'this.configObject.project.changes'.
When Ive used projectModel class for storing Events data on Calendar object the data sets are not populating on weekend.
That is why I've used EventStore to store data on Calendar, which is not applicable for Scheduler. For Scheduler and Gantt I've used ProjectModel which works perfectly.
That sounds very strange. It should work exactly the same as in Scheduler. It's best to use the same setup.
There will always be a Project anyway. It will just create one from the Stores you specify.
If there is a problem with that, we can work through it to see what the issue is. No events showing on weekends? Are all the events passed in the loaded JSON in the store? You an always interrogate the store on the debugger command line.
Are the events being gathered by the view? You can interrogate the view's cellMap which is the data structure which holds data about each date that the view covers.
Screenshot 2024-07-26 at 06.34.02.png (1.1 MiB) Viewed 280 times