Hi Vaibhav,

try the following code to specify class name:


dataGrid.getElement().setClassName("dataGridEvenRow");


Best Regards,
Kiran

On Mon, Jan 30, 2012 at 3:57 PM, vaibhav jain <[email protected]>wrote:

>
> Hello Experts,
>                      How can i change my DataGrid look and feel in
> gwt2.4,I tried to simply define the property in my CSS to change the
> background color of even rows,
>
> .dataGridEvenRow {
>     background: #FF3030 !important;
> }
>
> and in code i used
> dataGrid.setStyleName("dataGridEvenRow");
>
>
> but its not reflecting the color change.
>
> Thanks,
> Vaibhav
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to