How to force a templates redraw

Hello,

In scheduler net mvc.
I have a scheduler that is populated, based on a drop down box, choice.
The data reloading was the easy part. However, I am struggling to refresh my templates.
Mainly, the “scheduler.templates.month_day”, because I want to format the date based on the choice fro the drop down box choice.
Is there a way to force a templates reload, the same way I reload data after the drop down change ?

Regards

Hello,
you can assign template on the client side and then refresh the scheduler, template should be applied then
For example: scheduler.templates.month_day = function(date){ return scheduler.date.date_to_str("!%d!")(date); }; scheduler.setCurrentView();

Thank you Aliaksandr

This is exactly what I was looking for