How to validate cell edits in the table?
Listen to this event:
this.ganttControl.TemplateApplied += new EventHandler(
delegate(object sender, EventArgs e)
{
// GanttTable is non-null only after the TemplateApplied event is fired
this.ganttControl.GanttTable.CellEditEnding +=new EventHandler<DataGridCellEditEndingEventArgs>(GanttTable_CellEditEnding);
}
...whose handler will be fired before a cell edit ends where you could perform validation on the edited cell.
� RadiantQ 2009 - 2019. All Rights Reserved.