2015-12-02 16 views

回答

0

Days列存在於適用於SchedulerStorage.Resources.DataSource屬性的基礎數據源中。所以,如果你想顯示其在資源的數據源中存在的特定列,那麼你可以通過設計師添加:
Designer

在你的代碼

或者直接。

var colDaysPlanned = new ResourceTreeColumn(); 

colDaysPlanned.Caption = "Days"; 
colDaysPlanned.FieldName = "DaysPlanned"; 
colDaysPlanned.Name = "colDaysPlanned"; 

resourcesTree1.Columns.Add(colDaysPlanned);