row or text coloring in list view

row or text coloring in list view

currently im using images for status but when I used another database i was able to color the whole row. I have see examples of zoho creator with alternating row colors and I'm wonder if that could be scripted with and if else if statement for each record of contains statement

  1. if (status == done) {
  2.         currentrow.color = (255,0,0)
  3. } elseif (status == pending) {
  4.         currentrow.color = (0,0,255)
  5. } else {
  6. }