sDom positioning is not working
sDom positioning is not working
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?
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?
This discussion has been closed.
Replies
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