To change the property of .cellTableEvenRow , .cellTableOddRow in
CellTableStyle.css. Inject your CellTableStyle.css in client side
code.
//client side code
interface TableResources extends CellTable.Resources
{
@Source(value = { CellTable.Style.DEFAULT_CSS,
"CellTableStyle.css" })
CellTable.Style cellTableStyle();
}
CellTable table = new CellTable<String>(15, GWT.<TableResources>
create(TableResources.class));
//CellTableStyle.css
.cellTableCell {
height: 35px;
cursor: pointer;
padding: 2px 25px;
}
.cellTableEvenRow {
background: #fffaf0;
font-size:12px;
}
.cellTableOddRow {
background: #fff8e8;
}
S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE
On Sep 21, 7:04 am, gangurg gangurg <[email protected]> wrote:
> I am trying to come up with styling of Cell Table . However not able to
> figure out how .
>
> Trying to achieve
> 1. Should be able to Style any given row of a Cell table
> 2, Any Column of a Cell table
> 3. dynamically style any particular cell of a cell table .
>
> I tried to do the style sheet injection means by using resource , but its
> not helping me . I would appreciate any working example for the same .
--
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.