Set horizontal position of scheduler, after virtual scrolling in TimelineMonth

Hello,

I am using virtual scrolling for my scheduler control (JavaScript ES5). For the view "TimelineMonth" the horizontal position is reset when scrolling (example: https://ej2.syncfusion.com/javascript/documentation/schedule/virtual-scrolling/). How do I achieve to set the horizontal position after rerendering to the position before rerendering?

Regards,
Adrien P.

1 Reply 1 reply marked as answer

PN Praveenkumar Narasimhanaidu Syncfusion Team May 11, 2021 04:00 PM UTC

Hi Adrien, 

Greetings from Syncfusion support..1 

We have validated your reported query “set the horizontal position after rerendering to the position before rerendering?” at our end and let you know that you can achieve this requirement by enabling the scheduler’s enablePersistence property. We have prepared a sample for your reference which can be viewed from following link. 


Index.js 
var scheduleObj = new ej.schedule.Schedule({ 
  height: '550px', 
  width: '100%', 
  currentView: 'TimelineMonth', 
  enablePersistence: true, 
 
For more information about scheduler’s persistence, please refer following UG documentation link. 

Kindly try the above solution and let us if this meets your requirement. 

Regards, 
Praveenkumar 


Marked as answer
Loader.
Up arrow icon