void GanttView_BindItemAdded(object sender, GanttItemEventArgs args) { //var colHeader = _gantt.ColumnHeader; //SfGridHelper.SetTotCellValue(colHeader.GetCellInfo(_startSameEqpRowIdx, ColName.TITotal), _subTotalTI); //SfGridHelper.SetTotCellValue(colHeader.GetCellInfo(_startSameEqpRowIdx, ColName.TOTotal), _subTotalTO); }
void GanttView_BindItemAdded(object sender, GanttItemEventArgs args) { var info = args.Item as ToolGantt.GanttInfo; var colHeader = _gantt.ColumnHeader; }
void gantt1_ItemHover(object sender, GanttItemEventArgs e) { ShowItemStatus(e.Item); }
void gantt1_MovingItem(object sender, GanttItemEventArgs e) { ShowItemStatus(e.Item); }
private void ganttDataGrid1_ItemUpdated(object sender, GanttItemEventArgs e) { GanttDataColumn colRespons = ganttDataGrid1.TaskColumns.ColumnByKey("Responsible"); var ResponsibleUser = e.Item.GetProperty("Responsible"); if (ResponsibleUser != null) { var ResponsibleName = colRespons.ValueList.Find(element => (User)element.Value == (User)ResponsibleUser).Text; e.Item.SetProperty("ResponsibleName", ResponsibleName); } // Синхронизация свойства Identity и проперти Identity e.Item.Identity = (string)e.Item.GetProperty("Identity"); }