After adding a new node to the treeview the node appears, but the text is blank.

My source is attached. I am trying to load a sfTreeView on demand. My database structure is a collection of companies, each of which has a collection of categories and a collection of schedules. Viewing and manipulating these works fine, but when I attempt to add a new Category node at level 1 or a new schedule node at level 2, the node appears where it is supposed to go, but the label is empty. I would appreciate any assistance in this area as it needs to work. I really appreciate any help you can provide.


Attachment: Entities_f4a38ee3.zip

5 Replies

SJ Sowntharya Jayamoorthy Syncfusion Team August 9, 2024 08:07 AM UTC

Hi David Kendall,

We would like to let you know that, in order to update the UI for on-demand collection manipulation or collection property changes, set NotificationSubscriptionMode to "CollectionChange|PropertyChange" of SfTreeView.

Code Snippet:

<syncfusion:SfTreeView x:Name="treeView"

                       NotificationSubscriptionMode="CollectionChange"

                       ItemsSource="{Binding ImageNodeInfo}" >


UG link:

https://help.syncfusion.com/maui/treeview/data-population#populating-nodes-by-data-binding---bound-mode



Regards,
Sowntharya Jayamoorthy



DK David Kendall August 9, 2024 04:40 PM UTC

Actually I had already tried that. Readded and still no luck.


image_4.png



KK Kamala Kannan Sakthivel Syncfusion Team August 12, 2024 12:38 PM UTC

Hi David Kendall,

We have checked your reported query , we prepared a simple sample to replicate the issue, by adding a new node to the treeView, but it is working as expected.  Could you please provide a additional details about issue that how you are adding the node to the list. If possible please provide a issue reproducible sample. This will help us investigate further and provide a solution as soon as possible.

Regards,
Kamala Kannan S.



DK David Kendall August 12, 2024 07:35 PM UTC

Would it be okay if I just send you the whole code base in the form of a devops repo link? I can make it public but send the link privately?



JR Jayashree Ravishankar Syncfusion Team August 13, 2024 10:43 AM UTC

Hi David Kendall,

 

To share the sample privately, you can create a support ticket under your account.

Please follow that ticket for further updates. If you encounter any issues, you can create a separate ticket using this ticketing system:

https://support.syncfusion.com/

 

Regards,

Jayashree


Loader.
Up arrow icon