How to change background color of a row based on a value in column 'C' in Excel export HTML5?
How to change background color of a row based on a value in column 'C' in Excel export HTML5?
![sandeep_nalla](https://secure.gravatar.com/avatar/a73afc7fb1eb42f2feb1f8745baea7c4/?default=https%3A%2F%2Fvanillicon.com%2Fa73afc7fb1eb42f2feb1f8745baea7c4_200.png&rating=g&size=120)
How to change background color of a row based on a value in column 'C' in Excel export HTML5?
$('row c[r^="C"]', sheet).each( function () {
if($(this).text() == 'TOTAL'){
$(this).attr( 's', '20' );
}
});
This will change the bg color of that cell but how to change the entire row color?
This discussion has been closed.
Answers
Hi @sandeep_nalla ,
This thread will sort you out, it's addressing the same issue.
Cheers,
Colin