jQWidgets Forums

jQuery UI Widgets Forums TreeGrid add a row , contained child rows

This topic contains 1 reply, has 2 voices, and was last updated by  ivailo 9 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • add a row , contained child rows #76131

    minsu0806
    Participant

    this code can’t display child node.
    $(“#treeGrid”).jqxTreeGrid(‘addRow’, null, {
    FirstName: “Name”,
    LastName: “Last Name”,
    children:[
    {FirstName:”FirstChild”, LastName:’F’},
    {FirstName:”SecondChild”, LastName:’S’}
    ]
    }, ‘first’);

    Can I use ‘addRow’ method with a row, contained children?

    add a row , contained child rows #76134

    ivailo
    Participant

    Hi minsu0806,

    Unfortunately there is not such a feature.

    Instead you can add first the node and then with another request all attached children.
    Here is the demo.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.