How to search for subtable data

How to search for subtable data

JoyLeeJoyLee Posts: 5Questions: 2Answers: 0

There is a sub-table in the table object. When searching, the contents of the sub-table cannot be filtered.My code is as follows:

var type = $.fn.dataTable.util.escapeRegex(param.type),
typeIdx =3;
tableObj.column(typeIdx ).search(type !=='all' ? '^'+filterNeType+'$' : '' , true,false).draw();

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.