Caption & Filter

Caption & Filter

dfanchidfanchi Posts: 2Questions: 0Answers: 0
edited January 2013 in DataTables 1.9
Hi,
when using in conjunction with the filter option the table is rendered below the filter area; is there a way to adjust this and display above??
Here is the screenshot: http://i45.tinypic.com/2h2f9ua.jpg .
Thanx a lot

Danilo

Replies

  • allanallan Posts: 63,389Questions: 1Answers: 10,450 Site admin
    edited January 2013
    Edit - sorry I misunderstood the question - ignore my initial response.

    Basically no, because the caption is attached to the table, while the filter is a separate element. So you can't use , but you could use a method such as this to insert something like a caption (or even read from the current caption and remove it: http://datatables.net/release-datatables/examples/advanced_init/dom_toolbar.html

    Allan
  • dfanchidfanchi Posts: 2Questions: 0Answers: 0
    Thx Allan, I've done your way but now I've another question.
    Why if I use the tag datatables add a that I've to manually remove too?
    Thx
  • allanallan Posts: 63,389Questions: 1Answers: 10,450 Site admin
    Don't know - please link to a test case :-)
This discussion has been closed.