hi, i have the following code from my old application. it shows for our carfleet when a car is booked. this i wanna now convert to the infragistics gantt. some things working, but iam does'nt found some properties.and i need also info ,how to hide or show the task columns on the leftMe.Gantt1.ClearScheduleMe.Gantt1.TimeLines = TrueMe.Gantt1.DateOffset = 2
'-- the first date the gantt starts withMe.Gantt1.DateStart = dStartdatumMe.Gantt1.DateEnd = dStartdatum + 30 'dEndedatumMe.Gantt1.RulerFont = "Tahoma"Me.Gantt1.RulerFont.Bold = TrueMe.Gantt1.TitleFont.Bold = True
Me.Gantt1.TipsType = 2Me.Gantt1.TipsDelay = 2 intLoad = Gantt1.AddItem("CARID") dDatumtooltip = Startdatum & " " & startzeit & "->" & Endedatum & " " & Endezeit nBar = Me.Gantt1.AddTimeBar(intLoad, 0, 60 * 24, Startdatum), Endedatum)) Me.Gantt1.BarReadOnly(intLoad, nBar) = True
Me.Gantt1.BarText(intLoad, nBar) = Name & " -- " & dDatumtooltip Me.Gantt1.BarReadOnly(intLoad, nBar) = True Me.Gantt1.BarTimeStart(intLoad, nBar) = Hour(Startzeit)) * 60 '24 Me.Gantt1.BarTimeEnd(intLoad, nBar) = Hour(Endezeit)) * 60 '24
HI,
I am working on the conversion at the moment but my project will use the TimelineView (This will be the replacement for ctSchedule) and complement it with GanttView for the drilldown.
hi, not really, at the moment iam working not on the schedule project. but in the next time i will start :)did you get work (convert ) from ctschedule?
greetings
I am converting from the ctSchedule control as well. Did you get a solution to your questions?
Our control does not necessarily support the same exact functionality as the control from which you are "converting". To see tasks in the UltraGanttView control, you would add members to the UltraGanttView.CalendarInfo.Tasks collection. The Add method returns an instance of the Task object, on which you would set properties like Name, StartDateTime, Duration, etc. to get the same functionality as Me.Gantt1.BarText, BarTimeStart, BarTimeEnd, etc.