Pass value to $.fn.dataTable.ext.search.push

Pass value to $.fn.dataTable.ext.search.push

Th0rTh0r Posts: 10Questions: 3Answers: 1

Hi,

I have have a question about above example - I have googled for days not but cant figure it out...

When using the

$.fn.dataTable.ext.search.push(
function( settings, data, dataIndex )
{
...
}
);

it is triggered by the .draw();

How can I pass the entered value (in the current search input field) to the function?
Also, how can I access the column index of the search input field to the function) ?

I am trying to make a filter allowing me to do a numeric <> comparison on selected colums..

Thanks and regards, Thor

Answers

Sign In or Register to comment.