jQuery UI Widgets Forums TreeGrid Can't add a new row

This topic contains 2 replies, has 2 voices, and was last updated by  Dimitar 9 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Can't add a new row #58586

    yougotnet
    Participant

    The treegrid renders perfectly but when I try to add a new row nothing happens; no errors.

    In the ready: function() I have

    $(‘#jqxgrid’).jqxTreeGrid(‘addRow’, null, {});

    and nothing happens. I checked the Firefox script console to trace the code and it is actually hitting that line of code.

    Can't add a new row #58587

    yougotnet
    Participant

    Do you have to use the commit() in the source for add, edit and delete change the treegrid?

    Can't add a new row #58602

    Dimitar
    Participant

    Hello yougotnet,

    Here is a fiddle that shows how to add a new row on ready: http://jsfiddle.net/Dimitar_jQWidgets/a0zo3uv3/.

    What I notice is that you call the method for a div with id jqxgrid. Is this intentional or is it possible that it is a typo?

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.