JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to have table rows as nodes

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree
Author Message
Neeraj
Guest





PostPosted: Fri Jun 20, 2003 2:11 pm    Post subject: how to have table rows as nodes Reply with quote

Hi,

How can I do the following with cooljstree.

case 1 -
I have a table of data, where each row consists of several columns of data. I want to create a tree, where I can colapse to see only the table heading and expand to see the table with all the rows.

I have seen several examples where each node is a table. But here I want a node to be just a row in a table.

You can also reply to nmital@loomissayles.com

thanks

neeraj

[/quote]
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Sat Jun 21, 2003 12:19 am    Post subject: Reply with quote

Tree cannot deal with separate table rows because of its inner structure. But you can put heading of you table into separate table in some node of the tree, and then put body of the table into other separate table as first subnode. Probably, you will have to set fixed widths for columns in both tables.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree All times are GMT
Page 1 of 1