When I apply search on the table, I'm trying to hide all the shown children of the table row. But I'm unable to do so. Here is my code. Don't know what's wrong.
var table = $("#tblTemplateList").DataTable();
$("#tblTemplateList tr").each(function(index,tr){
if($(tr).child.isShown()){
$(tr).child.hide();
}
});
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…