Monday, January 30, 2012

Apllying CSS in DataGid in GWT2.4


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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment