rows.every() Question

rows.every() Question

zgoforthzgoforth Posts: 493Questions: 98Answers: 2

Link to test case: https://jsfiddle.net/BeerusDev/940cedtm/89/

I want to use the rows.every() function to get a count of the two different options that a 3rd level row can be. Either green or red based off the condition inside of my createdRow callback.

I am trying to get the row style so I can apply it to a count like so:

if (this.style.backgroundColor === 'red') { classCount.r++; }

Answers

Sign In or Register to comment.