Change the color of a row in a table

Change the color of a row in a table

  
Concernining all Tables;
I can set an "IF" condition on a cell to do what erver a want.
I would like to set the 'STYLE' of a row, depending on a variable.

Example; In case the value my table_field "ACTIVE RECORD" is set to "NO", I want the record / ROW to be showen in a different style.

Any ideas appart from doing this for all individual cells?

Thanks, Henri B.
use the extended properties of the row.
there you can sett property to class and the value you can use an inline-if
Solution
Hi Henri,

Just extending J's answer further.

set style property as following


Hope this helps.
Thanks and Regards,
Suraj Borade

Solution
That helped a lot. Thanks for pointing me in the right direction.

Regards,
  Henri B.
that works, but I want to kicking an other style. Let's say I want to set it to the style "NotActive" that is available in the css.

Regards,
  Henri B.
instead of  "style"  as extended property, use "class" 

inline-style should be prevented indeed.

and Suraj is assigning it to a cell instead of the row..

Works exactly as hoped. 

Thanks J.

Regards,
  Henri B.
Works exactly as hoped. 

Thanks J.

Regards,
  Henri B.
Hi J,

Can you please explain how to use "class" to set CSS styles.

I have done like this 
but it's not working.

Thanks and Regards,
Suraj Borade
Hi,

a class is a css-class, thus has a simple name like "MyClass"

and in the css you have something like this:
".MyClass { display:none;}"

J,

Got your point.

I need to write CSS class like this 

".MyClass { display:none;}" in CSS editor of a page and assign that class name in style of a row.

My question is  when to use "class" property as displayed above?

Thanks