Row Style

Hi ,

I am working on a grid which is loaded from an XML String.

I want to add style of background color to specific rows.

How can i add style to the row.

It would be of great help if the style component is added in the XML string .

Try to use one of the solutions:

<row id="1" class="css1" bgColor="red" style="color:blue;"> <cell> first column data </cell> <cell> second column data </cell> </row>

Hi The solution mentioned is adding style to the text , and not the row.
The style component bgColor isnt getting applied to the row.

1. <row id="1" bgColor="red">
works well for me

  1. <row id="1" style="background-color:red">
    works well for me

  2. <style> .css1{ background-color:red; } </style> ... <row id="1" class="css1" >
    works well for me