codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  DHTML tabletree  Byron at 14:17 on Wednesday, October 01, 2003
 

Hi Guys,

This should not be an easy question, can you manage it? :)

I need a DHTML tabletree. In simple words it means
creating a table, where each of it's rows can hierarcicaly
expand/collapse, adding/removing hidden rows to/from the table,
with an indent.

It is fairly easy to accomplish this with one TD:
To represent children, just put a TABLE inside a TD,
with DIV, and put an A (ancor) with the suitable onclick() function in the TD itself. The TABLE will include all the TR's of the children of this node. The ids of the ancor and the DIV tag are similar (like, ID1 and kidsID1).

Now, in the needed case, we have to worry about:
1) Indentation of columns. Everything should look as a well layed-out table for the user.
2) No hard-coded values that determine the width of columns.
3) DIV can reside inside a TD, but not inside TABLE or TR,
as far as I know.

Like I said, a tough one, but if you know the answer - you are the master :)

10x,
Byron.



  Re: DHTML tabletree  Elain at 07:51 on Friday, November 26, 2010
 

I think the question isn't very difficult, you can find the best answer when you search it in google!Good luck!
---------------------------------------
flash banner|logo maker|flash menu








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: How to check number of fields in form?
•  Re: where can i post my programs to the world?
•  Re: DHTML tabletree
•  Re: Needed script or whatever it is
•  Re: navigation of control
•  Re: Image on a HTML button
•  Re: Trouble w/strings in ASP
•  Re: how to print a report having many records.
•  Re: Creating a simple client login / email database


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010