sDom positioning is not working

sDom positioning is not working

romsokromsok Posts: 38Questions: 0Answers: 0
edited December 2009 in General
Hi,

I have tables and each has a filter windows ("search:").
the search window appears immediately on top of the table. I would like to position it above the table's right corner.

I did the following:

[code]
"sDom": '<"tableFilter"f>'
[/code]

And in css:
[code]
div.tableFilter
{
position: relative;
top: 0px;
left: 500px;
}
[/code]

For some reason it doesn't work... could someone please advise?

Replies

  • allanallan Posts: 61,744Questions: 1Answers: 10,111 Site admin
    Hi romsok,

    You've not included the table ('t') element... Have a look at the documentation and the sDom example:

    http://datatables.net/usage/options#sDom
    http://datatables.net/examples/basic_init/dom.html

    Allan
This discussion has been closed.