$('#t').dataTable().columns(2).search('文字').draw();这个只能搜索重绘。如何判断是否存在某数据呢?且是绝对相等而非模糊匹配!
使用filter()方法,或者search()方法,通过正则表达式实现完全匹配
Datatables
$('#t').dataTable().columns(2).search('文字').draw();这个只能搜索重绘。如何判断是否存在某数据呢?且是绝对相等而非模糊匹配!
使用filter()方法,或者search()方法,通过正则表达式实现完全匹配
Datatables