I just started working with gantt view, so I have some questions
Can we include multiple projects in ultraGanttView?
I want to use a List as datasource, actually i am working like this
ultraCalendarInfoGanttView.DataBindingsForProjects.BindingContextControl = this; ultraCalendarInfoGanttView.DataBindingsForProjects.DataSource = new ProjectManager().GetProjects();ultraCalendarInfoGanttView.DataBindingsForTasks.BindingContextControl = this;ultraCalendarInfoGanttView.DataBindingsForTasks.DataSource = new TaskManager().GetTasks();
But I didn't get any data in view, please help me to figure out this.
Thanks,
I have problem with adapter update operation,Cell deactivating and TaskElementDragComplete event doesn't work properly. One case is
When I delete all the task database not reflecting it,because in task grid we have to click on some other row than these event raised otherwise not,but there is no other row to click.
mayank164 said:One thing more, In Gantt View can't we show some details of project like project name etc
mayank164 said:how we do update operation mainly for AllProperties column which save binary data
Let me know if you have any further questions.
Regards
Thanks
But how we do update operation mainly for AllProperties column which save binary data.
One thing more, In Gantt View can't we show some details of project like project name etc.
Hi,
mayank164 said:Now can you tell me, how to use entity list as data source for projects and tasks
Could you please take a look at the attached sample. I made small sample for you using this approach. Also take a look at the attached video file - Video 339 for details.
mayank164 said: I want to use cursor in drag mode,means I don't want to use scrollbar instead of it when I move cursor horizontally it will scroll the timeline section.
private void ultraGanttView1_MouseDown(object sender, MouseEventArgs e) { ultraGanttView1.Cursor = Cursors.Hand; } private void ultraGanttView1_MouseUp(object sender, MouseEventArgs e) { ultraGanttView1.Cursor = Cursors.Default; } int temp; private void ultraGanttView1_MouseMove(object sender, MouseEventArgs e) { int i; if (ultraGanttView1.Cursor == Cursors.Hand) { if (temp > e.X) i = 1; else i = -1; ultraGanttView1.EnsureDateTimeVisible(ultraGanttView1.TimelineSettings.VisibleDateTimeRange.StartDateTime.AddDays(i)); temp = e.X; } }
private void ultraGanttView1_MouseDown(object sender, MouseEventArgs e)
{
ultraGanttView1.Cursor = Cursors.Hand;
}
private void ultraGanttView1_MouseUp(object sender, MouseEventArgs e)
ultraGanttView1.Cursor = Cursors.Default;
int temp;
private void ultraGanttView1_MouseMove(object sender, MouseEventArgs e)
int i;
if (ultraGanttView1.Cursor == Cursors.Hand)
if (temp > e.X) i = 1;
else i = -1;
ultraGanttView1.EnsureDateTimeVisible(ultraGanttView1.TimelineSettings.VisibleDateTimeRange.StartDateTime.AddDays(i));
temp = e.X;
Please take a look at the second video file - Video 338 to see this behavior.
Let me know if you have any questions.
Thanks for reply.
Now can you tell me, how to use entity list as data source for projects and tasks.There is one thing also
I want to use cursor in drag mode,means I don't want to use scrollbar instead of it when I move cursor horizontally it will scroll the timeline section.