Adding css class by date filtering in Unit week view or Unit veiw

Hi ,

I need to know that how i can give Css class in UNIT VIEW or UNIT WEEK view on the basis of date.
Lets say if the date is past then i want to give ( past ) class and if it is not then ( anyclass ) to the unit view section highlighted in screenshot.

Screen%20Shot%202019-02-27%20at%202

Thanks in advance.
Regards

Hi,

Unfortunately, currently it is not supported.
I added info about the feature to the list with ideas for future and I hope it will be implemented later.

Hey,

Replying after a long time. But i had tried many things to solve this but not succeeded
So i am willing to build this functionality inside the dhtmlx scheduler.
Can you tell me how and from where i could start implementing this?

Regards

Hi,

You need to create similar function to the timeline_scalex_class template function with ‘date’ as a parameter
https://docs.dhtmlx.com/scheduler/timeline_view_templates.html
Check in the source code how this template function implemented.

Also you can contact our sales department at sales@dhtmlx.com about custom development.