Resize Table Dynamically |
Resize Table Dynamically |
kamfurz |
Oct 6 2006, 01:11 AM
Post
#1
|
Group: Members Posts: 1 Joined: 6-October 06 Member No.: 347 |
Hi frnds,
I want to know whether there is any way of creating a table with dynamic resizing during view time, like that of excel sheet, using html and java Script. |
Christian J |
Oct 6 2006, 08:36 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,673 Joined: 10-August 06 Member No.: 7 |
I'm not familiar with excel, do you mean changing the table's width/height or add more rows/columns? The former can be done with javascript+CSS. The latter with the DOM (javascript), see http://developer.mozilla.org/en/docs/Trave..._DOM_Interfaces but make sure the page is usable in browsers without javascript too.
|
jimlongo |
Oct 6 2006, 10:34 AM
Post
#3
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
If the table width=100% (or some percent) it will more or less by dynamic, unless there is some other constraint placed upon it. As long as there isn't a fixed pixel width applied it should resize.
This post has been edited by jimlongo: Oct 6 2006, 10:35 AM |
Lo-Fi Version | Time is now: 26th May 2024 - 09:17 PM |