Color DataTable Rows Based on Certain Value
Color DataTable Rows Based on Certain Value
zgoforth
Posts: 493Questions: 98Answers: 2
Hello, I am making a multi tabbed table (tabs go by department) and I want to be able to color code rows in each table based on an attendance value. If > 75% make it green, if > 50% && < 75%, color the row yellow, and if < 50%, color it red. Each row will contain a this value to determine if it should be colored. I just cannot find any examples on coloring the row.
This discussion has been closed.
Answers
You can use
createdRow
for this if the data doesn't change. Or if the data can change then userowCallback
.Kevin
@kthorngren you never dissapoint! Thanks Kevin