The TreeView does not update when providing a new data source until you collapse and expand the node whose children were modified
The issue manifests both when
using .Add() or .Remove() on an ObservableCollection
creating a new List<T>(updatedData)
Happens in 2.14.1 first.
*** Thread created by admin on customer behalf ***
Posted on:23 Aug 2020 07:03
Generally, creating a new collection for its Data will change its reference, so the framework will call the OnParametersSet method of the treeview and it will update. The alternative is to use an ObservableCollection and its Add(), Remove() and Clear method().
The bug this page tracks is that neither of these approaches works.
A workaround could be to toggle its visibility so it re-renders completely anew with the new data: