Two-Way Binging in TreeView
Is there an example how to Two-Way bind a EjsTreeView so that the "Expanded" value gets also set from den UI.
SIGN IN To post a reply.
6 Replies
KM
Kanagambigai Murugan
Syncfusion Team
October 14, 2019 12:49 PM UTC
Hi Thomas,
Good day to you.
You can achieve this requirement by using ExpandedNodes property of treeview. But, currently we have known issues while updating the ExpandedNodes value when it is changed via UI. We have logged a bug report on it. We will fix and include the fix in our upcoming patch release which is expected to be rolled out on or before 25th Oct, 2019. We appreciate your patience until then.
You can track the status of this via the following link
Please let us know if you have any queries.
Regards,
Kanagambigai M.
TR
Thomas Riml
October 14, 2019 01:18 PM UTC
Hi Kanagambigai,
thanks for the response - this makes sense.
Was trying around and never got any changes when i expanded it with UI.
Nice to hear that there is a fix on the way.
Thanks a lot.
regards
Thomas
KM
Kanagambigai Murugan
Syncfusion Team
October 15, 2019 05:00 AM UTC
Hi Thomas,
Thanks for the update.
We will update you once the fix is included and our patch release is rolled out.
Regards,
Kanagambigai M.
KM
Kanagambigai Murugan
Syncfusion Team
November 1, 2019 06:47 AM UTC
Hi Thomas,
Thanks for your patience.
We are glad to inform that our latest(17.3.0.21-beta) NuGet package release has been rolled out and the issue with updating the ExpandedNodes property value while it is interacting via UI has been resolved in this version. We have prepared a sample for your reference.
Kindly check the above sample and let us know if you have any queries.
Regards,
Kanagambigai M.
TR
Thomas Riml
November 1, 2019 08:10 PM UTC
Hi,
thanks for the update - was trying the update and its still the same for me.
Same on the example you linked. ExpandedNodes are always null.
The bound Array and tree.ExpandedNodes are always null.
Was using .net core 3.1 and Syncfusion.Blazor 17.3.0.21-beta
regards
thomas
MK
Muthukrishnan Kandasamy
Syncfusion Team
November 4, 2019 12:16 PM UTC
Hi Thomas,
Thanks for contacting Syncfusion support.
We have checked your query that treeview expandednodes always null. The expandednodes property working fine in our end, could you please check the below video?
If still you are facing the same problem, could you please ensure the following things.
1. You can access the TreeView component properties and methods.
2. In application level, you are modifying the expanded node values as null
Regards,
Muthukrishnan K
SIGN IN To post a reply.
- 6 Replies
- 3 Participants
-
TR Thomas Riml
- Oct 11, 2019 09:49 AM UTC
- Nov 4, 2019 12:16 PM UTC