2

I'm currently looking for a way to design a table structure with HTML and JS which should be

  1. Horizontally Scrollable (It has to be possible to dynamically add new columns)
  2. Tolerant to changing sizes (e.g. when adding some text or controls) of cells. E.g. when doubling the size of the second cell in the second row every other cells should stay in the correct columns.
  3. It should be possible to adjust to rendered columns to the width of the screen.
  4. It should be possible to use the same layout with swiping on mobile devices.
  5. = IE8, FF, Chrome must be supported

Currently I'm thinking about a DIV based solution where the correct table structures of the columns and rows are preserved by resizing column and cell DIVs if needed.

That's how it should look:

enter image description here

Is the DIV based solution apropriate or is there a possibility of using the default HTML table?

1
  • Questions involving a programming implementation would be better asked on StackOverflow.com Commented Mar 3, 2013 at 2:44

0

Browse other questions tagged or ask your own question.