Hi Kris,
You could add custom properties to the Gantt Task model, and then map them to the client-side object via the schema configuration of the gantt's dataSource. Here is the implementation of the gantt TaskModel used in our online demos:
Regards,
Dimitar Terziev
Telerik
You could add custom properties to the Gantt Task model, and then map them to the client-side object via the schema configuration of the gantt's dataSource. Here is the implementation of the gantt TaskModel used in our online demos:
public class GanttTaskModel { public int ID { get; set; } public string Title { get; set; } public int? ParentID { get; set; } public int OrderID { get; set; } public DateTime Start { get; set; } public DateTime End { get; set; } public decimal PercentComplete { get; set; } public bool Summary { get; set; } public bool Expanded { get; set; } public GanttTask ToEntity() { return new GanttTask { ID = ID, Title = Title, OrderID = OrderID, ParentID = ParentID, Start = Start, End = End, PercentComplete = PercentComplete, Summary = Summary, Expanded = Expanded }; } }Regards,
Dimitar Terziev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!








