Welcome Guest Search | Active Topics | Sign In | Register

TreeView sort order Options
bbeasley
Posted: Friday, April 8, 2011 10:36:33 AM
Rank: Newbie
Groups: Member

Joined: 10/27/2009
Posts: 4
Treeview control displaying chapters with sections and content

1.0 pumps (Chapter desc)
1.1 pump housing (section desc)
1.2 pump motor

2.0 gauges
2.1 gauge type

etc

My issue is when I get to chapter 10.1.... it displays between 1.0 pumps and 2.0 gauges

Sections are related to chapters by the chapter description ie: 1.0 pumps

How do I keep 10.1.... after 9.0.... ?

The data is coming out of a db if that matters?
eo_support
Posted: Friday, April 8, 2011 5:20:14 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The TreeView does not sort nodes. You will need to sort it before passing it to the TreeView. You can usually do this on the SQL level that you use to fill your data source.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.