[Question] Does STreeView's OnGetChildren function get dynamically updated?

I’m trying to make a search function that returns it’s results in a tree with the found objects tags as the parents in the tree.

As such, in my OnGetChildren function I set the Children Pointer argument to a function call that gets the search results with the tag that’s passed as the parent.

However, it seems as though the OnGetChildren function is only being called at initialization, and not when I update the TreeItemsSource. Is there a way to update it? Or am I missing something?

Lists and Trees are some of the few widgets in Slate that do require explicit invalidation. We keep it pretty low-granularity though. Just call MyTreeView->RequestTreeRefresh() when you want the tree to update its structure.

Ah, awesome. Thanks for that :slight_smile: