sFilter parameter not working.
sFilter parameter not working.
![hammersmash](https://secure.gravatar.com/avatar/36bd58d5c0d01a028fa94d7ca08930b6/?default=https%3A%2F%2Fvanillicon.com%2F36bd58d5c0d01a028fa94d7ca08930b6_200.png&rating=g&size=120)
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