I have created a table with column filter and a button "test" for toggling rows of that table HTML
With the above JS code I can able to toggle rows which has class name "invalid". But when I tried to add column filter in Department column, toggling is not working properly.
1.If I filter the column by selecting any option from dropdown and clicking hide button, The filtered row which has "invalid" is hiding properly..but if again i pressed show it showing all the "invalid" rows not only filtered.
2.If I filter the column by selecting any option and pressed hide,now rows are hided then if i select "select all", it is showing full table.
I dont even have any idea to solve above scenarios. Please suggest me on this.
For my next trick, I'll need the help of a tiny ad ...