Define custom class for select box
Define custom class for select box
srimanta12
Posts: 12Questions: 0Answers: 0
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]
[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]
This discussion has been closed.
Replies
Allan