Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81684

Search a column with prefix text only in datatable

$
0
0
Please give me the solution how can i search the column with prefix text only in data table. I taken lot of time for trying this , but i can't able to find the solution for this . Please help me.

my code is below

var oTable = $('#tablename').dataTable({
"bPaginate": false,
"bInfo": false,
"bFilter": true,
"bAutoWidth": false,
"sScrollY": 302,
"sDom": "frtip",
"aoColumns": [
{ "sWidth": "0px", "bSortable": true },
{ "sWidth": "63px", "bSortable": true },
{ "bSearchable": true, "sWidth": "40px", "bSortable": false },
{ "bSortable": true },
{ "sWidth": "40px", "bSortable": true },
{ "sWidth": "40px", "bSortable": true },
{ "sWidth": "40px", "bSortable": true },

]
});
$(window).bind('resize', function () {
oTable.fnAdjustColumnSizing();
});

Viewing all articles
Browse latest Browse all 81684

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>