Div instead of Table/tbody/body

Div instead of Table/tbody/body

vlutskervlutsker Posts: 14Questions: 0Answers: 0
edited December 2011 in General
Hi,

Is there a way to use 'div' tags instead of table/tbody/body tags? We currently working on redeveloping our entire application and using divs and css and we use datatables. If there is a way to use divs instead of tables it would be great.

Thank you, Vlad.

Replies

  • allanallan Posts: 63,540Questions: 1Answers: 10,476 Site admin
    Hi Vlad,

    I'm afraid the answer is no - sorry. DataTables is designed to work on the principle of progressive enhancement - the TABLE tag has semantic meaning and DataTables seeks to preserve that an indeed enhance it by adding advanced interaction techniques. The DIV tag is semantically meaningless and doesn't covey anything like the meaning of the structured nature of data in a table other than being visually styled to look like that.

    So sorry - TABLE tag is required.

    Allan
  • vlutskervlutsker Posts: 14Questions: 0Answers: 0
    Thank you Allan
This discussion has been closed.