Hi Ignacio,
NTreeList control you can select the whole row which is represented by NTreeListNode.Therefore you can get the selected node(s), not node's subitems.You can obtain the selected node by SelectedNodes property.
Here is a small example:
//Filling NTreeList with some data.
NTreeNode
Since, the array items are of type NTreeNode you should cast to NTreeListNode to get node's subitems.
Hi,
If I understood, using
NTreeNode[] selectedNodes = nTreeList1.SelectedNodes
I get all nodes selected, but how can I get the subitem selected?
Thanks
IM
I found the answer. By doing
Dim a = DirectCast(selectedNodes(0), Nevron.UI.WinForm.Controls.NTreeListNode).SubItems(0).RawData
I get the value of the first column of the row selected.
Thanks and regards,