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
close icon

How can I click specific date on ScheculeControl programmatically

Hello

Good day! 

I would like to know how I can click(Focus) specific date on ScheculeControl programmatically

thank you!

1 Reply

AA Arulraj A Syncfusion Team January 3, 2019 10:43 AM UTC

Hi Ha Jung, 

Thanks for using Syncfusion product. 

To move the selection programmatically, you could using the CurrentCell.MoveTo method. Please refer the following code example and the sample. 
C# 
this.scheduleControl1.GetScheduleHost().CurrentCell.MoveTo(3, 4); 


In this above attached sample, MonthShowFullWeek property has enabled. If you have disable this property, week days are covered by two rows. So, if you move to third row you could use the following code example. 
C# 
this.scheduleControl1.GetScheduleHost().CurrentCell.MoveTo(6, 4); 

Note: 
To access the CurrentCell property, you could attach the Syncfusion.Grid.Windows.dll in your project. 

Arulraj A 


Loader.
Live Chat Icon For mobile
Up arrow icon