RadiantQ Forum
Product => Silverlight Gantt Package => Topic started by: dniezgoda on October 11, 2015, 02:50:52 AM
-
Hi Support team,
If we customize the start/endtime column header such as change text to Start/Finish then the Starttime/Endtime does not work properly in case of using Predecessor value
the example source code: https://drive.google.com/file/d/0B1ahYTSivJpmOEIwVXFqQkJCdDA/view?usp=sharing (https://drive.google.com/file/d/0B1ahYTSivJpmOEIwVXFqQkJCdDA/view?usp=sharing)
In this case we cannot change the Start value on item "Task3" unless we hide the code in method "ganttControl_TemplateApplied" (remove customized column codes)
please advice us
Thanks
-
Daniel,
We are looking into this issue, we will update you soon.
Thanks
RQ Support
-
Daniel,
Include the last 2 lines below to fix this issue.
void ganttControl_TemplateApplied(object sender, EventArgs e)
{
// While dragging rows, enable dropping as a child of another row.
this.ganttControl.GanttTable.EnableDropAsChild = true;
this.ganttControl.SyncRowBackgrounds = true;
ganttControl.GanttTable.Columns[2].Header = "Start";
ganttControl.GanttTable.Columns[3].Header = "Finish";
// Let the gantt know about the columns corresponding to start and finish for it to do some additional validations when these change.
ganttControl.GanttTable.StartTimeColumnHeaderText = "Start";
ganttControl.GanttTable.EndTimeColumnHeaderText = "Finish";
}
Thanks
RQ Support
-
Thank you a lot!