change row background color

i found some things which change color for row like striped() but i want to if status == 1 this row background color should be red. just how i can give red background color for row?
Was this page helpful?