Define custom class for select box

Define custom class for select box

srimanta12srimanta12 Posts: 12Questions: 0Answers: 0
edited May 2012 in DataTables 1.9
is there any option to add class for different different select box in datatables like:
[quote]
$("#example").dataTable().columnFilter(
{ aoColumns: [
null,
null,
null,
null,
null,
null,
{
type: "select",
values: [ 'Paid', 'Due', ]
},
null,
{
type: "select",
values: [ 'Enable', 'Disable' ]
}
]
}
);
[/quote]

I would be very happy if I can add one class for
[quote]
{
type: "select",
values: [ 'Paid', 'Due', ]
}
[/quote]
and another class for
[quote]
{
type: "select",
values: [ 'Enable', 'Disable' ]
}
[/quote]

Replies

  • allanallan Posts: 63,695Questions: 1Answers: 10,500 Site admin
    Not as far as I know - but I'm not overly familiar with that code base. You might want to open an issue on the plug-in: http://code.google.com/p/jquery-datatables-column-filter/issues/list .

    Allan
This discussion has been closed.