Need a custom month view but hiding saturday and sunday

Hi,

I am trying to create a new view same as month view but I need to hide saturday and sunday. I was able to create custom views following as per the documentation but was able to create the week views and was also able to hide saturday and sunday.

Is there a way around to manipulate the month view so that I can hide saturday and sunday or create a new month view and hide saturday and sunday.

Any help will be highly appreciated.

Hello,

Unfortunately there is no easy way to do it.

Kind regards,
Ilya

Ilya,

So, there is a way to do it anyway. Would you please help me in doing so, no matter its a hard way. I had to finish that view ASAP. Your help will be much appreciated.

And also other folks please do suggest.

Thanks

Hello,

Well, everything is possible :slight_smile:
But I’ve meant that there is no public API to do so and those changes would involve modifying the original source code.

You can take a look at dhtmlxscheduler_debug.js file, check the following function:

scheduler._reset_month_scale=function(b,dd,sd){

for month body and

scheduler._reset_scale=function(){

for x_scale header.

Maybe it will be easy enough for you, if not and this functionality is crucial for your project you can contact us - sales [at] dhtmlx.com to make an estimate.

Kind regards,
Ilya