Is it possible to use DataTables other than with html tables?

Is it possible to use DataTables other than with html tables?

mboudalimboudali Posts: 2Questions: 0Answers: 0
edited April 2014 in General
I already have a website running. the page basically displays a table like structure which is in reality html un-ordered list with list elements being inline. One row in the table looks like this:
----------------------

0
test 5
Daily
00:00
2014-12-01
2014-01-01

----------------------

and the headers table being:
----------------------

Type<!-- a href="#">Type
Title<!-- a href="#">Title
Recurrence<!-- a href="#">Type
Time<!-- a href="#">Time
End Date<!-- a href="#">End Date
Last Execution<!-- a href="#">End Date


----------------------

The question now, can I use the power of DataTables plugin in order to sort (on type, title, recurrence, etc), search, (eventually paginate) my "table"?

Your answer is appreciate,

Thanks,

Michel.

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Short answer is - you can't. DataTables fundamentally uses the element. There is no way around that without rewriting the core code.

    Allan
  • mboudalimboudali Posts: 2Questions: 0Answers: 0
    OK. thanks for the answer.
This discussion has been closed.