How to hide all the rows in a table that are not selected (radio button)
How to hide all the rows in a table that are not selected (radio button)
calbrecht
Posts: 1Questions: 1Answers: 0
I have created a table and the values get filtered based on few attributes. I would like to hide all the rows that are not selected. I can achieve the goal by using the following jQuery syntax when I run it from the browser console. It's not working when part of an OnChange event.
$('input[name= "Qualified_Batteries_dataTableRadio"]:checked').closest("tr").siblings().hide();
Thank you.
Cris
This discussion has been closed.