Hello Matthias,
You are absolutely right. Please accept my apologies for not including this important detail in my explanation.
To remove the expand icon, it is necessary to also change the reference of the Data parameter:
currCategory.HasChildren = false; // remove the expand icon from the node
HierarchicalData = new (HierarchicalData);
Thank you for bringing this crucial detail to our attention! If you have any further questions or concerns, please feel free to reach out to us at any time.
Regards,
Yanislav
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hello Yanislav,
your workaround is not setting "HasChildren" property to "false" - this is already in the original example at
The workaround consists of changing the "Data" reference of "TelerikTreeView" instead of "StateHasChanged()" to refresh the tree.
Regards
Matthias
Hello,
We understand how frustrating it can be when a bug arises, and we are sorry for any inconvenience caused. In the meantime, until the issue is resolved I would like to suggest a workaround that may help you. Please review this REPL example.
The workaround utilizes the OnExpand event. Within the event handler, you can get the node and check if it has children - if not set its "HasChildren" property to "false". Thus the icon will be removed.
private async Task LoadChildren(TreeViewExpandEventArgs args)
{
...
currCategory.HasChildren = false; // remove the expand icon from the node
===
On a side note, I would like to explain how we prioritize our development efforts. We take all reported bugs seriously and evaluate them based on their severity, impact on the user experience, and the number of customers affected. We also consider the feedback we receive from our community, which helps us to understand which issues are most important to our users.
While we strive to address all reported issues, we must prioritize our efforts based on the severity of the bug and the demand from our community. This means that some bugs may take longer to fix than others, and we appreciate your patience as we work to improve our product.
What I can recommend at this point is to follow the item to get status updates - this is the easiest way to keep track of its progress.
Regards,
Yanislav
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hey,
An bugfix is really very simple and leads to a huge improvement in user satisfaction. Example: A tree with 100 nodes at the lowest level is visible. Now the user has to click 100 on the icon to notice that there is no further data under the node. Terrible!
Any progress here?
As the bug fix is just a simple "@if" which will result in a huge improvement I would like to see it planned for the next version.
Thanks
Matthias