sFilter parameter not working.
sFilter parameter not working.
hammersmash
Posts: 15Questions: 0Answers: 0
My understanding from the documentation is that setting sFilter in the parameters passed when creating a table will set the class for the _filter div. This is not happening for me.
I want the filter div to float left in only 1 table.
I want the filter div to float left in only 1 table.
This discussion has been closed.
Replies
sFilter : myFilterClass
change the class of the filter div as in the 'Styling > Custom Classes' section? I can move the div around using sDom, but I want to change the box properties.
[code]
$.fn.dataTableExt.oStdClasses.sFilter = "whatever";
[/code]
That can then be used to target your own CSS. THe default class name is "dataTables_filter".
Allan