The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Resize Table Dynamically
kamfurz
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 6 2006, 08:36 AM
Post #2


.
********

Group: WDG Moderators
Posts: 7,963
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Oct 6 2006, 10:34 AM
Post #3


This is My Life
*******

Group: Members
Posts: 1,125
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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 11th December 2018 - 06:05 AM