How can I make a web-based "table" select like a spreadsheet? (rectangular area vs row-wrap selecti

Posted by Dax on Stack Overflow See other posts from Stack Overflow or by Dax
Published on 2010-03-23T15:28:05Z Indexed on 2010/03/23 16:53 UTC
Read the original article Hit count: 237

Filed under:
|
|

I want to make a table that displays on a webpage, but one requirement is to make it easy to copy and paste into a spreadsheet. Normal HTML tables selection behavior is obviously different from how a spreadsheet like Excel selects -- when you select multiple rows it wraps around instead of selecting a rectangular area. Is there any way to make HTML table behave like a spreadsheet in this regard, or is the only way to resort to a Flash table or something similar?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about table