Hello,
I use the WinGantView in GridAndTimeLine display mode and i have some questions :
In my grid, all tasks have a duration in Hours but Summary tasks are still displayed in Days: How can i configure Summary Tasks to display a duration in Hours ?
In TimeLineView, i have one column per day. (M | T | W | T | F | S | S) My task duration is only 2 Hours long and completly fill le colum: Is it possible to display this task in a proportional way into my day column ? Example: 4Hours task fills 1/2 column with, 2Hours task fills 1/4 column and so on ?
Thanks in advance for your reply.Regards,Maxime.
Hello Boris,
unfortunately, it dosen't work. Task bar have the same size and the column header for days are replaced by "06" with "TimeInterval(30" or "00" with "TimeInterval(24."
You ca see the result here : http://imageshack.us/photo/my-images/834/tasksj.png/
This is my TimelineSettings configuration :
this.ultraGanttView1.TimelineSettings.BarSettings.BarTextRight = Infragistics.Win.UltraWinSchedule.TaskUI.BarTextField.Name; this.ultraGanttView1.TimelineSettings.ToolTipSettings.DateTimeFormat = "g"; this.ultraGanttView1.TimelineSettings.BarSettings.BarHeight = 15; this.ultraGanttView1.TimelineSettings.BarSettings.PercentCompleteBarHeight = 11; TimeInterval ganttTimeInterval = new TimeInterval(30, TimeIntervalUnits.Hours); this.ultraGanttView1.TimelineSettings.PrimaryInterval = ganttTimeInterval;
Thanks for your help.
Regards
Hello Maxime,
Could you please try the following code and let me know of the result:
TimeInterval ganttTimeInterval = new TimeInterval(30, TimeIntervalUnits.Hours);
this.ultraGanttView1.TimelineSettings.PrimaryInterval = ganttTimeInterval;
thanks very much for your reply but the progress bar is not what i really want to do.
My question is about the taskbar displayed in the timeline that fills the completly the day with only 2 hours of duration.
Regards,Maxime.
The summary tasks' time and duration cannot be modified, this is an internal limitation in our control. As to the proportional requirement, it could be achieved using a progressbar but the grid showing in the ganttview is limited also and you cannot put a progressbar in a column.
You might find a way to achieve what you desire using custom columns:
http://help.infragistics.com/NetAdvantage/WinForms/2012.2/CLR4.0/?page=WinGanttView_Custom_Columns.html.
If you believe that this is insufficient, I could log new product idea(s) for you.