Showing all rows
Showing all rows
randy.johnson
Posts: 18Questions: 8Answers: 0
I have a data table that has A question in the first column and answers in a second column.
If the user hits submit and their are questions check and no answers I turn the row red.
I want to take this a step farther and show only The red rows so the user can fix the issues before submitting the form.
Any ideas on how I go about this?
Thank You,
Randy
This discussion has been closed.
Answers
Hi Randy,
Use a custom search function that will show only the rows you want at the time you want.
Regards,
Allan
Here is the js code. Do you have any pointers on how to improve?
Thank You.
I would try to keep DOM reading out of the filtering function, since that can be fairly slow. That that would imply that you need to add the data that it is checking to global variables or into the row data (depending on the exact use).
However, if it is performant enough for you, then go with that!
Allan