Reputation: 13172
How to set the column width of jQuery DataTables Column Filter?
My code is like this : http://jsfiddle.net/oscar11/aobmk2of/
...
dataTable.columnFilter({
sPlaceHolder: "head:before",
aoColumns: [
{ type: "select", width:"10px" },
{ type: "select" },
{ type: "select" },
{ type: "select" },
{ type: "select" }
]
});
...
But it's not working.
Thank you.
Upvotes: 0
Views: 1709
Reputation: 342
Please apply this class.
#example select
{
width:100px !important;
}
Upvotes: 1