We have the following table which is populated with data, using Ajax
Now, let’s say you want to color the table rows, based on the second column status after, the table is already filled with data:
- UNSTABLE -> Yellow
- SUCCESS -> Green
- Failure -> Red
This post is a dummy walkthrough of neutron services code. I recommend being familiar with the following modules (not a hard requirement, but will help you avoid jumping between this post and other docs):
I created the following drawing to make it easier to track several of the files and classes mentioned in this post.