Home Unanswered Active Tags New Question

Hide unused resource headers

When I set a filter on the scheduler, some of the resources become unused, but are still rendered in the scheduler. How can I hide unused resources in the scheduler?

Asked by Bas Brekelmans 8 months ago.
1 other person also wants an answer.
Replies

There is no way to do this at this moment. I will check if it will be possible to include it in one of the future releases. It seems that it could be relatively easy to implement.

Answer posted by Dan Letecky [DayPilot] 8 months ago.

Thank you for the reply, is there a known work around at the moment? Can I clear all resources before loading new data?

Comment posted by Bas Brekelmans 8 months ago.

There is no problem to change the Resources collection during any CallBack.

You only need to call Update(CallBackUpdateType.Full); to redraw the resources on the client side.

Comment posted by Dan Letecky [DayPilot] 8 months ago.

Got it ! thanks alot.

Comment posted by Bas Brekelmans 8 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java