Resizable and swappable html table

L

Liming

Hello everyone,

Do you have any guidelines as how a resizeable html table can be
constructed?

I found this article

http://weblogs.asp.net/despos/archive/2004/11/30/272147.aspx

but that's IE only, I dont' want it.

Then I tried this guy's script

http://codebetter.com/blogs/geoff.appleby/archive/2004/10/30/30481.aspx

but I ketp getting "Error: event is not definied"

so I just want to understand a genreal guideline, like

1. do you use <table> tag or do you have to resolve to <div> css design
for dragging/resizing columns to work?

2. suppose each header is draggable, I drag the header to an x
position, how do I determine which column it should be "snapped" into?

3. say #2 is resolved, what's the best way to move all the rows below
the header, so that they snap into the same x position? Do you have
delete the original column and then insert the columns one by one in
the new position?

I don't know hwat i'm saying cuz that's just how i imagined such a
script would work, so if you have the code, please do share, or guide
me to somewhere.

thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top