This is a migrated thread and some comments may be shown as answers.

[Solved] Parentid issue

1 Answer 121 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Lee Malo
Top achievements
Rank 1
Lee Malo asked on 12 Mar 2010, 01:27 AM
I have a table like the following:

ID     Label        Group   SubGroup
1        Blue        Color    Preferred
2        Red        Color    Not Preferred
3        Sweet     Taste    Good
4        Sour        Taste   Bad



I was hoping for a simple radtree checkbox solution that would display like so:

+Color
    +Preferred
        Blue - with a checkbox
   +Not Preferred
        Red - with a checkbox
+Taste
    +Good
        Sweet - with a checkbox
+Taste
    +Sour
        Bad - with a checkbox

any suggestions would be great

1 Answer, 1 is accepted

Sort by
0
Vesko
Top achievements
Rank 2
answered on 15 Mar 2010, 02:44 PM
The only way to achieve that is to manually iterate your dataset and create the nodes manually (in server side code).

Tags
TreeView
Asked by
Lee Malo
Top achievements
Rank 1
Answers by
Vesko
Top achievements
Rank 2
Share this question
or