data saved in DB but client side not refresh

I’ve implemented gantt according to this tuto : dhtmlx.com/blog/using-dhtmlx-ga … -rest-api/

I’ve added some variable to the task model :

public class Task
{

    public int Id { get; set; }
    [MaxLength(255)]
    public string Text { get; set; }
    public DateTime start_date { get; set; }
    public int Duration { get; set; }
    public DateTime end_date
    {
        get
        {
            return start_date.AddDays(+Duration);
        }
    }


    public double Progress { get; set; }
    public int SortOrder { get; set; }
    public string type { get; set; }
    public int? parent { get; set; }

    [Required, DefaultValue("grey")]
    public string color { get; set; }

    public int? ProjectId { get; set; }
    public virtual Project Project { get; set; }

    public int? EmployeeId { get; set; }
    public virtual Employee Employee { get; set; }
}

When i create or update a task:
-the database is updated
-the view (clientSide) is updated only for standard parameter, not for color, project, employee.

Is there a way to do that ?

thnaks

Hi,
can you show the code your DataController? (controller/action that is called via gantt.load from the client)
In the said tutorial all properties of the task object are listed explicitly there: screencast.com/t/G0VDjiXR
If you do something similar and add your new properties there, they should be loaded to the client as expected