RadiantQ WPF Gantt
Global Selective ReadOnly settings
Previous Topic  Next Topic 

Selective ReadOnly settings


a) StartTimes are ReadOnly:


To prevent the end user from changing the start time of tasks in the Gantt Chart and Table, use these settings:


// Prevent editing in Chart:

this.ganttControl.IsStartTimesReadOnly = true;

// Prevent editing in Table - specify the appropriate column.

this.ganttControl.GanttTable.Columns[2].IsReadOnly = true;


b) Efforts are ReadOnly:


To prevent the end user from changing the required effort for tasks in the Gantt Chart and Table, use these settings:


// Prevent editing in Chart:

this.ganttControl.IsEffortReadOnly = true;

// Prevent editing in Table - specify the appropriate column.

this.ganttControl.GanttTable.Columns[4].IsReadOnly = true;


c) Dependencies are ReadOnly:


To prevent the end user from changing the dependencies between tasks in the Gantt Chart and Table, use these settings:


// Prevent editing in Chart:

this.ganttControl.IsDepLinesReadOnly = true;

// Prevent editing in Table - specify the appropriate column.

this.ganttControl.GanttTable.Columns[7].IsReadOnly = true;


d) Progress Percents are ReadOnly:


To prevent the end user from changing the progress information for tasks in the Gantt Chart and Table, use these settings:


// Prevent editing in Chart:

this.ganttControl.IsProgressPercentReadOnly = true;

// Prevent editing in Table - specify the appropriate column.

this.ganttControl.GanttTable.Columns[5].IsReadOnly = true;


e) Adding and Deleting tasks:

Adding and deleting tasks have to be done programmatically, so there is no need of an API to turn this functionality off.


f) Reordering Rows in the table:


By default, the user will be able to move the rows in the table by dragging them to a new location. To prevent this in the Gantt Table, use this setting:


// Prevent moving tasks in the Table:

this.ganttControl.CanUserReorderRows = false;




� RadiantQ 2009 - 2019. All Rights Reserved.