datatables + fixedheader + select input filter
datatables + fixedheader + select input filter
Hi all,
I would like to ask you is this possible to run all these functionalities : fixedheader + select input filter, which I implemented like this :
this.api().columns().every(function () {
var column = this;
var select = $('<select multiple="multiple" style="width:inherit"><option value=""></option></select>') .appendTo($(column.header()).empty())
select.append('<option value="value1">value1</option>')
select.append('<option value="value1">value1</option>')
select.append('<option value="value1">value1</option>')
select.append('<option value="value1">value1</option>')
select.append('<option value="value1">value1</option>')
select.append('<option value="value1">value1</option>')
select.multipleSelect({});});
When I also run : new $.fn.dataTable.FixedHeader(table); I receive error :
Can't set property for t.„className”.
When I remove my "select input filter" -> everything is fine, but I would like to have fixedheader and select input header.
Could you be so kind and help me to run it ?