Defaulting Earliest Work Hours on Screen

Is it possible to display the work hours being the earliest work hours on top of the screen by default?

Example: If my work hours for Monday is 9AM and the rest of the week is 8AM, then 8AM should be displayed by default like the one below



1 Reply

PN Praveenkumar Narasimhanaidu Syncfusion Team October 4, 2021 12:36 PM UTC

Hi Bob, 

Greetings from Syncfusion support..! 

We have validated your requirement “Defaulting Earliest Work Hours on Screen” at our end and prepared a sample using scrollTo public method in dataBound event which can be viewed from the following link. 


  ondataBound(): void { 
    if (this.flag) { 
      this.scheduleObj.scrollTo('08:00'); 
      this.flag = false; 
    } 
  } 
 
Kindly try the above solution and let us if this comes close to your requirement. 

Regards, 
Praveenkumar 


Loader.
Up arrow icon