Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #102923
    johnm
    Participant

    I am unable to get the connections to display when i retreive the gantt datasource from a db. the connections column shows [object][object] for the task in question but nothing appears in the gantt section.

    my schema is:

    [JsonPropertyName(“connections”)]
    public object Connections
    {
    get; set;
    } = Array.Empty<object>();

    and i am populating the data as follows:

    Connections = sc.EndIndex!=null?new List<Dictionary<string,int>>()
    {
    new Dictionary<string, int>()
    {
    {“target”,sc.EndIndex },{“type”,sc.Type}
    }
    }:””,

    the connection was created and saved by the user dragging the connection lines in the gantt component.

    What am i doing wrong?

    please advise

    • This topic was modified 2 years, 1 month ago by johnm.
    #102927
    admin
    Keymaster

    Hi johnm,

    Could you share a github project link which will allow us to test the reported behavior? Without being able to test it, the provided information is not sufficient for reproducing this.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.