jQWidgets Forums

jQuery UI Widgets Forums Navigation Tree Removing item from source on JSON Tree

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 1 month ago.

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

  • glouze
    Member

    Hi,

    I am new to jqxWidgets and jqxTree. I am creating a dynamic table in JSON, where I can  insert and remove items (parent nodes anda child nodes). I am using the the same structure of the data object mentioned in examples.

    I’m now having some trouble identifying the items to remove them from the data object used to build the tree.

     

     

     


    Peter Stoev
    Keymaster

    Hi glouze,

    You can get the items loaded in jqxTree by using the “getItems” method which returns an Array of all items. Then to remove an item, you may pass an item from that Array to the “removeItem” method of jqxTree.

    Best Regards,
    Peter Stoev

    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.