moses toh
moses toh

Reputation: 13172

Set the column width of jQuery DataTables Column Filter

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

Answers (1)

Kushal Vora
Kushal Vora

Reputation: 342

Please apply this class.

#example select
{
    width:100px !important;
}

Upvotes: 1

Related Questions