this is my link http://demo.ratnatechnology.co.in/sizin_trip_new/admin/holiday_packages
Can you give us some help here. What column isn't searching!? I tried "economy" and that worked for me. Please provide repeatable steps on how to reproduce the problem
MYSTATUS column search not working. If i searching enable it not showing the result.
It is working since all your rows have both "Enable" and "Disable" in them they always match, for example:
<td>Enable</td> <td> <a href=http://demo.ratnatechnology.co.in/sizin_trip_new/admin/update_holiday_package/2> <button type="button" class="btn btn-outline-success">Edit</button></a> <a href=http://demo.ratnatechnology.co.in/sizin_trip_new/admin/delete_holiday_packages?id=2> <button type="button" class="btn btn-outline-danger">Delete</button></a> <a class="btn btn-outline-warning" href="http://demo.ratnatechnology.co.in/sizin_trip_new/admin/active_inactive_package?id=2&package_status=2"> Disable </a> </td>
You need to use orthogonal data. For that last column, you need to return another string in columns.render for type filter, something like
columns.render
filter
``` columnDefs: [ {targets: -1, render: function(data, type) { return type === 'filter'? "" : data }} ]
Cheers,
Colin
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Can you give us some help here. What column isn't searching!? I tried "economy" and that worked for me. Please provide repeatable steps on how to reproduce the problem
MYSTATUS column search not working. If i searching enable it not showing the result.
It is working since all your rows have both "Enable" and "Disable" in them they always match, for example:
You need to use orthogonal data. For that last column, you need to return another string in
columns.render
for typefilter
, something like```
columnDefs: [
{targets: -1, render: function(data, type) { return type === 'filter'? "" : data }}
]
Cheers,
Colin