Hello.
this worked for me:
var tableRows = that.getView().byId("supplierResultsTable").getRows(); tableRows.forEach(function(row){ row.$().css('background-color', "#e8eff6"); });
All the rows became blue. Not sure what is bugging with your solution, but i would check yore if statement and make sure you sett the color after inserting the row.
You can test this by wrapping it in a timeout function
setTimeout(function(){ var tableRows = that.getView().byId("supplierResultsTable").getRows(); tableRows.forEach(function(row){ row.$().css('background-color', "#e8eff6"); }); }, 1000);
This should solve any async issues, but only for testing purposes, dont do this in a live system unless it is the only solution.
Add comment