Uding DataTable w/o JavaScript

Uding DataTable w/o JavaScript

anjibmananjibman Posts: 115Questions: 10Answers: 0
edited October 2010 in General
I am trying to use "DataTables hidden row details example" w/o JavaScript. The result is it display all records w/o formatting but no way to view detail. How can detail of each row also can be displayed?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    You need to build the table you want without Javascript first, and then modify it with Javascript when JS is available. So if you want the row details all to be visible, they need to be in the default HTML. Then simply remove the details rows before initialising DataTables, and have it render then itself normally.

    Allan
This discussion has been closed.