Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron User Interface for .NET
»
iterate NTreeList
iterate NTreeList
Post Reply
iterate NTreeList
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Nevron Support
Nevron Support
posted 15 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hello Vince,
It is almost the same.
List
<
NTreeListNodeSubItem
> items =
new
List
<
NTreeListNodeSubItem
>();
int
columnIndex = 1;
int
nCount = nTreeList1.Nodes.Count;
for
(
int
i = 0; i < nCount; i++)
{
NTreeListNode
currentNode = (
NTreeListNode
)nTreeList1.Nodes[i];
items.Add(currentNode.SubItems[columnIndex]);
}
Best Regards,
Nevron Support Team
Reply
Like
0
Vince McMullin
Vince McMullin
posted 15 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 18,
Visits: 2
Hello,
I wish to iterate through the NTreeList and collect a particular subitem for each row.
With a listview I did something like this:
'For Each lvItem As ListViewItem In ListView3.Items
' pmStationList.Add(lvItem.SubItems(1).Text)
'Next
I am not sure about the NTreeList
Any ideas?
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search