php - dataTables filter specific column without using footer -



php - dataTables filter specific column without using footer -

is there anyway search columns sec col without using filter?

i've tried using:

"aocolumndefs": [ { "bsearchable": false, "atargets": [ 1 ] }] "searchcols":[null, {"search":""}, null]

here finish script:

$(document).ready(function(){ otable = $("#roles").datatable({ "processing":"true", "serverside": "true", "ajax": "roles", "columns":[ {data: 'id', name:'id'}, {data: 'name', name:'name'}, {data: 'link', name:'link'} {data: 'actions', name:'actions'} ], "oclasses": { "sfilter": "pull-right", "sfilterinput": "form-control input-rounded ml-sm" }, "dom": "<'row'<'col-md-6 hidden-xs'l><'col-md-6'f>r>t<'row'<'col-md-6'i><'col-md-6'p>>", "olanguage": { "slengthmenu": "_menu_", "sinfo": "showing <strong>_start_ _end_</strong> of _total_ entries" }, "searchcols":[null, {"search":""}, null] }); });

is there anyway can filter name column without using footer filter? because if not specific column filter, when tried search error because there actions column.

php jquery html ajax laravel-5

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -