I'm using a treeview control which is being feed by a database. The tag property is already used to define relationship among nodes (Node's Unique Identifier) so it's of no use. I would like to:
A- Be able to show numbers in front of every nodes, dynamically generated upon their rank in treeview ex:
1.0 Parent Node
1.1 Child node
1.2 Child Node
2.0 Parent Node .....
B- Make sure nodes are sorted even if I drag&drop a node elsewhere in the treeview(then entire numbering has to be redefined)
C- I would like to save the "number" in the database as well as to add a description of the node in the database. ie: is it possible to add properties to the treeview (like a description and the number)?