I am trying to create a report in the form of a dynamically built HTML table.
So - the idea is that I would load in the data-set, clean it up as needed, add the checks I wanted and any field that does not pass the test would get a value other than “OK”. (The exception is that the date column will just return a date. But that’s not important here).
My problem is - how do I spin through my loop and add rows as needed and then add data to each of those rows as my checks are completed.
Currently this is the code: https://github.com/SabahatPK/TestDataFiles/blob/master/js/main.js
But that’s obviously not heading in the right direction: