Yadcf: filter not work
Yadcf: filter not work
artem78
Posts: 7Questions: 5Answers: 0
I add to my table two combobox-filters from Yadcf plugin. When I pick up value in filter, the request send with empty values "columns[0][search][value]" and "columns[1][search][value]".
<script type="text/javascript">
var table;
$(document).ready(function() {
table = $('#table').DataTable({
"processing": true,
"serverSide": true,
"ajax": {
"url": "server_processing.php",
//"type": "POST"
},
"language": {
"url": "//cdn.datatables.net/plug-ins/1.10.11/i18n/Russian.json"
},
"searching": false
})
yadcf.init(table, [
{
column_number: 0
},
{
column_number: 1
}
]);
} );
</script>
......
<table id="table" class="display" cellspacing="0" width="100%">
<thead>
<tr>
<th>Оффер</th>
<th>Вебмастер</th>
<th>Заказов</th>
<th>Оплачен</th>
<th>Принят</th>
<th>Обработка</th>
<th>Отменён</th>
<th>Возврат</th>
<th>Ошибка/Спам/Дубль</th>
</tr>
</thead>
</table>
You can see table here: http://sunstorm.tk/publ/webm_stats/
Anybody can help? Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It didn't work for you because you used
"searching": false
(I noticed that you fixed that already on your site).