Data Tables layout without table tags

Data Tables layout without table tags

mazammazam Posts: 4Questions: 0Answers: 0
edited October 2013 in General
I want to display table with "Div" and CSS. Can someone guide me how to achieve it for DataTables?

thanks

Replies

  • essexstephessexsteph Posts: 57Questions: 0Answers: 0
    I don't think you can. DataTables is designed to enhance HTML tables, the home page says:

    [quote]DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.[/quote]

    If you don't want to use a table then DataTables isn't for you, sorry.

    Steph
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    edited October 2013
    As essexsteph says you can't. DataTables is a table's library. It is not designed for using divs to create tables, which is wrong semantically and for accessibility anyway. DataTables does not and will not support such a mode.

    Allan
This discussion has been closed.