Duplicate Items in Treeview
-
Hi, I have a problem with sorting duplicate items in a treeview. I retrive some info from a database and the resultset look something like this : Date....|City.....|Code --------------------------- 20041012|London...|123 20041012|London...|456 20041012|New York.|763 20041013|Boston...|236 20041013|London...|983 20041012|Oslo.....|923 And I want the treeview to look like this : +20041012 ...+London ......+123 ......+456 ...+New York ......+763 ...+Oslo ......+923 +20041013 ...+Boston ......+236 ...+London ......+983 How can i put the correct nodes in the correct level and do this in a easy way? Tune In, Turn On, Drop Out
-
Hi, I have a problem with sorting duplicate items in a treeview. I retrive some info from a database and the resultset look something like this : Date....|City.....|Code --------------------------- 20041012|London...|123 20041012|London...|456 20041012|New York.|763 20041013|Boston...|236 20041013|London...|983 20041012|Oslo.....|923 And I want the treeview to look like this : +20041012 ...+London ......+123 ......+456 ...+New York ......+763 ...+Oslo ......+923 +20041013 ...+Boston ......+236 ...+London ......+983 How can i put the correct nodes in the correct level and do this in a easy way? Tune In, Turn On, Drop Out
tree-view has a sorting function, it is good enough for your case. includeh10
-
Hi, I have a problem with sorting duplicate items in a treeview. I retrive some info from a database and the resultset look something like this : Date....|City.....|Code --------------------------- 20041012|London...|123 20041012|London...|456 20041012|New York.|763 20041013|Boston...|236 20041013|London...|983 20041012|Oslo.....|923 And I want the treeview to look like this : +20041012 ...+London ......+123 ......+456 ...+New York ......+763 ...+Oslo ......+923 +20041013 ...+Boston ......+236 ...+London ......+983 How can i put the correct nodes in the correct level and do this in a easy way? Tune In, Turn On, Drop Out