We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Schedular Date-Wise-Grouping

Dear Team,

We are using the Schedular's Date-Wise-Grouping Resource..

and we are tried to set different workHours for each resource.

but, we are unable to do so and it doesn't reflect any error or warning.

And the same issue with scrollTo funciton.

Could you please help us on this. 


5 Replies

VD Vinitha Devi Murugan Syncfusion Team December 30, 2019 11:38 AM UTC

Hi Sinchan, 

Syncfusion Greetings. 

We achieved your requirement by using resource startHourField and endHourfield to set the resource's various work start and end hours. Also we scrolled the scheduler to a specific time based on the system’s current time using dataBound event. 


Kindly try the samples and Please let us know if you need any further assistance on this.   
M.Vinitha devi 

SN Sinchan NIkam December 31, 2019 05:13 AM UTC

Hi Vinitha,

Thanks for the solution..

One more thing, can we apply different work hours for each day of a resource.


VM Vengatesh Maniraj Syncfusion Team January 2, 2020 10:54 AM UTC

Hi Sinchan, 

Thanks for the update. 

We can apply different work hours for different days in a resource by making use of setWorkHours method like below 

 if (this.islayoutChanged) { 
      var renderdate = this.scheduleObj.activeView.getRenderDates(); 
      for (var i = 0; i < renderdate.length; i++) { 
        var dayindex = renderdate[i].getDay(); 
        if(dayindex !== 0 && dayindex !== 6){ 
          //first resource 
          //second resource 

Kindly try the above and revert us for further assistance. 


SN Sinchan NIkam January 2, 2020 01:33 PM UTC

It's working....

Many Thanks.


VM Vengatesh Maniraj Syncfusion Team January 3, 2020 05:31 AM UTC

Hi Sinchan, 
You are most welcome. 

Live Chat Icon For mobile
Up arrow icon