The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
It appears that the TreeNodeAdv.NodeData.ShowCheckBox property does not selectively display check boxes on tree nodes.
My goal is just that: to have some nodes with check boxes and some without. Can you explain how to accomplish this and how the ShowCheckBox property on the tree node interacts with that on the TreeViewAdv.
Thanks in advance.
Jim Stewart
Well I answered my own question - but it brings up an interesting ... issue? ...problem?
I was creating nodes thus:
TreeNodeAdv tNode = new TreeNodeAdv ("");
tNode.NodeData.ShowCheckBoxe = true; // or false
parentNode.Nodes.Add (tNode);
This procedure failed to show the check boxes interactively.
However, when I changed the order of operations, thus:
TreeNodeAdv tNode = new TreeNodeAdv ("");
parentNode.Nodes.Add (tNode);
tNode.NodeData.ShowCheckBoxe = true; // or false
Viola! The check boxes appear (or don't appear) as required.
Now. Why should it make any difference whatsoever which order I perform these operations? It seems unnecessarily confusing to me. Any guidance would be appreciated.
Jim Stewart