Closed atiar-cse closed 4 years ago
The currently plugin implementation simply does server-side search for the value on all searchable fields. I have not done anything to make individual field filtering easier but you can definitely do it with datatables.net native way. Feel free to do a pull request if you want to make improvement on this plugin.
But based on the instruction you link, it's simply:
ajax: {
url: ...,
data: function (d) {
d.email = $('.searchEmail').val(),
d.fname = $('input[name="fname"]').val()
}
}
@atiar-cse Version 1.1.8 introduce tableCreating and tableCreated events, which should also help with this issue - https://github.com/niiknow/vue-datatables-net#events
How to render the filter fields on header of the table for each column on initComplete or on table-created event?
Hi,
Is there a way for - multi column searching like https://datatables.net/examples/api/multi_filter.html ?
Thanks & Regards!