Update Resource Columns during CallBack in DayPilotScheduler
Asked by CSGuy57
15 years ago.
15 years ago.
I'm using DayPilotScheduler to display employee schedules. Depending on the user's selection, I add additional columns into the Employee resources that display time and expense for the employee's schedule for the week. I can change resources during a CallBack (i.e. change the employees being displayed). However, I cannot add or remove the additional columns during the CallBack. The data inside the columns changes, but I cannot actually remove or add them. If I change the resources, they have whatever columns were initially loaded in the scheduler.
If I look at the dps object on the client-side and look into the dps.rows property during the afterRender event, the columns are changed correctly based on what was done at the server, but they are not redrawn to the screen.
Any ideas?
DayPilot