Poblems adding data to grid on left side of control

2 posts, 0 answers
  1. Claude
    Claude avatar
    63 posts
    Member since:
    Apr 2009

    Posted 05 Jul 2014 Link to this post

    I can easily add the bars to the right side, but adding the test and start, end date/time on the grid on the right is not working?  Do I need to add this separately?

     var projectInfo = (from pi in dbContext.tasks where pi.taskID == idPassed select pi).First();

    GanttViewDataItem item1 = new GanttViewDataItem();
    item1.Start = Convert.ToDateTime(projectInfo.dateAdded);
    item1.End = Convert.ToDateTime(projectInfo.taskDT);
    item1.Progress = 30;
    item1.Title = projectInfo.taskName;
  2. George
    George avatar
    500 posts

    Posted 09 Jul 2014 Link to this post

    Hi Claude,

    Thank you for writing.

    When you add an item it should be added to both - left and right side of RadGanttView. You can read the article Populating with Data Programmatically | UI for WinForms Documentation. If you still have problems adding items to RadGanttView, please provide me with more information about your project and with a sample if needed.

    Let me know how this works out.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top