Hi Dario,
Thanks for your update.
In our previous update, we have provided the solution for getting the start date value by clicking the appointment cell. You can also use the DrawCellDisplayText event to get the start date of the schedule grid. Using this event, you can get the display text of the particular cell. You can use this text to get the start date of the grid. please make use of the following code snippet and sample,
Code Snippet:
this.scheduleControl1.GetScheduleHost().DrawCellDisplayText += newSyncfusion.Windows.Forms.Grid.GridDrawCellDisplayTextEventHandler(Form1_DrawCellDisplayText);
string displayText = null;
void Form1_DrawCellDisplayText(object sender, Syncfusion.Windows.Forms.Grid.GridDrawCellDisplayTextEventArgs e)
{
if (e.RowIndex == 1 && e.ColIndex == 1)
displayText = e.Style.Text;
}
private void button1_Click(object sender, EventArgs e)
{
string[] list = displayText.Split(new char[] { '' });
//Get the date from the display text
DateTime startDate = DateTime.Parse(list[0], this.scheduleControl1.Culture).Date;
//Display the start date
MessageBox.Show(startDate.ToString());
}
Sample:
Regards,
Adhi