Change order of THEAD, TBODY and TFOOT

Change order of THEAD, TBODY and TFOOT

hgsadhrakiyahgsadhrakiya Posts: 17Questions: 5Answers: 0

Hi,
Is it possible to change order of THEAD, TBODY and TFOOT for https://datatables.net/examples/api/multi_filter.html ?

I want order as THEAD TFOOT TBODY

Replies

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin

    That example does have the HTML in that order. Click the HTML tab below the table to see the HTML used.

    Do you mean you want the filtering inputs to be shown in the table's header (i.e. before the body)? If so, you can do that. Just put the filtering elements into a second row in the thead.

    Allan

  • hgsadhrakiyahgsadhrakiya Posts: 17Questions: 5Answers: 0

    No no.
    I want the view in this sequesnce:
    1. thead
    2. tfoot
    3. tbody

    Is it possible?

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin

    No. That is not how browser's render HTML table elements and I'm not aware of any way to make them do so.

    Allan

This discussion has been closed.