C1GanttView Data Binding To Custom Class

Posted by: jwhitney on 24 April 2018, 5:33 pm EST

    • Post Options:
    • Link

    Posted 24 April 2018, 5:33 pm EST

    I’m new to ComponentOne and deciding how I will load tasks into the C1GanttView control. My tasks are currently stored in a custom class…as an array of custom classes. I can also use a DataTable object in the class.

    I’m wondering if anyone can recommend how I might “bind” the fields in my custom class or rows in a DataTable object to the tasks in the GanttView control?

    Is there an easier way to do this than manual mapping via the GanttView events, e.g. BeforeEditTask, etc?

    Any input would be much appreciated.

  • Posted 25 April 2018, 3:12 am EST

    Hi Jeff!

    Kindly follow the steps as suggested on this help page :

    http://help.grapecity.com/componentone/NetHelp/c1ganttview/webframe.html#Data%20Binding%20in%20GanttView%20for%20WinForms.html

    In case you need any further assistance, do let me know.

    Best regards,

    Meenakshi

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels