[ANGULAR] After Event Renderer
Is there an event for after all the events are rendered?
Is there an event for after all the events are rendered?
Hi,
Could you please explain a bit further what do want to achieve? Why do you need to listen for an event that will fire after all events are rendered?
I needed to get a list of all the column elements on the scheduler. I was using "document.querySelectorAll('div[data-event-id]')" to do it. If you have an alternate solution for this it would be great. I wanted the event at the end simply because i just needed all the elements to be rendered first, but if there is another way to access these after they are rendered then that would no longer be needed.
Hey portlink
You can get the columns records by accessing
scheduler.columns.records
And from there, you can iterate inside of them to get the element
property of each record https://bryntum.com/products/scheduler/docs/api/Grid/column/Column#property-element
Sorry, I meant I needed all of the elements of the events/assignments after I rendered them. Not the elements of the timeaxiscolumns.
I am using vertical mode if this changes things
Hi portlink,
Try this https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#event-paint
Also here is event triggered for each event render https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#event-renderEvent
event paint did not work, but i was able to use renderevent for what i wanted. Thank you