I work on angular 7
I already display data on dynamic table not static
I need when at least one cell from row different from each others
then give red font to full row
second row give red color because it have at least one cell as 15
different from another cell on row
third row have red color because not value on row as anothers 12 ,13,15,17
so How to make function do that by jquery or java script or type script do
red color for row if it have at least different cell value
[image: img for red color different.png]
<!DOCTYPE html>
<html>
<body>
<table border="1">
<col width="500">
<col width="500">
<col width="500">
<col width="500">
<tr bgcolor="#6699FF" width="100%">
<th>Part1</th>
<th>Part2</th>
<th>Part3</th>
<th>Part4</th>
<tr>
<td>12</td>
<td>12</td>
<td>12</td>
<td>12</td>
</tr>
<tr>
<td>12</td>
<td>15</td>
<td>12</td>
<td>12</td>
</tr>
<tr>
<td>17</td>
<td>15</td>
<td>13</td>
<td>12</td>
</tr>
</table>
<button id="button">Click Me</button>
</body>
</html>
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/1d861a5f-8982-45df-bca1-04f14a71f66b%40googlegroups.com.