Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rob Stevenson-Leggett 38 posts 110 karma points
    Nov 17, 2014 @ 22:08
    Rob Stevenson-Leggett
    0

    How can I refresh a custom tree in Umbraco 7?

    Hi,

    I asked this question over at StackOverflow as well: http://stackoverflow.com/questions/26981964/umbraco-7-how-can-i-refresh-the-tree-view-in-my-custom-section

    I have created a custom section in umbraco to manage some data in an SQL database.

    I can edit items OK but when adding I need to refresh the page to see my new row in the custom tree on the left.

    How can I cause a refresh of my custom tree using AngularJS? My tree is called "clients".

    I have tried debugging the code and looking at the source to find the event but I can't seem to work out how to do it.

    Is there a method I can call on the umbTreeDirective somehow? Or an event to subscribe to?

    I am fairly new to AngularJS and am struggling a little.

    Rob

Please Sign in or register to post replies

Write your reply to:

Draft