on 05-31-2010 11:48 AM
Hi all,
I must display hierarchie data but every hierarchie has is it's own data.
Is it possible to use a table in a table in a table? If not what's the best way for displaying the context below as whole (Not clicking to expand, but display everything at once). It's only display data.
Context:
root
--> Book (Node) | BookAttribute 1 | BookAttribute 2 |
--> Chapter (Node)
ChapAttribute 1 | ChapAttribute 2 | ChapAttribute 3 |
--> Paragraph (Node)
ParAttribute 1
ParAttribute 2
ParAttribute 3
ParAttribute 4
ParAttribute 5
TIA,
Patrick Willems
Yes
table popin is what you are looking for
(right click on table, insert table popin, search sdn for tutorials tips and how-to's)
alternatively, use a rowrepeater, whic creates a transparent container for each element in context. in each transparent container, you can then use regular elements to show the data in the current element and a table to show the data of the child context (or a rowrepeater again)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
table inside table is not the right approach for this kind of representation. instead go for tree kind of structure
This article may be helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhimanyu Lagishetti,
I already saw that tree structure in a table. The problem with that is that the columns have fixed number. For example earch row has 3 columns.
In my example the the number (and menaing) of the attributes for the nodes differs.
So for node Book I need to display 2 attributes. For node Chapter 5 attributes and for node Paragraph 4 attributes. I think that's not possible or is it?
It's not necessary to use tables. Other controls are also possible if they are appropiate.
Regards,
Patrick Willems
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.