Is there a way to filter "unit" column ?

I have a custom view based on custom unit :

scheduler.createUnitsView("unit","tester_id",testers); 

and I am trying to do some filtering of the calendar for theses unit. I want to be able to hide some columns based on criteria ( the name of the column).

I have tried so far:

  • looking into css selectors ( not the right way, especially since the columns do not have ids)
  • editing on the fly the scheduler unit options to remove the object from the list and then call scheduler._reset_scale and scheduler.render_view_data, but this messes up the dynamic creation of new events.

Is there any way to do such filtering?

Hello,

Please check updateCollection method. That’s the way to go in such case.

Kind regards,
Ilya