interface TableResources extends CellTable.Resources
{
  @Source({"myCellTable.css"})
  TableStyle cellTableStyle();
}

interface TableStyle extends CellTable.Style {}

@UiField(provided=true)
CellTable<Junk> junkCellTable;

CellTable.Resources reso = GWT.create(TableResources.class);
junkCellTable= new CellTable<Junk>(15, reso);

I forgot the (provided=true) part, this works now.

On Oct 21, 1:06 pm, pjspychala <[email protected]> wrote:
> I've been trying to clean up my styling of the new Data Presentation
> Widgets in GWT 2.1. Right now, I am having a hard time changing the
> style of the header of a CellTable without going through DOM.
>
> I have tried passing a extended Resources class to the CellTable
> constructor with odd results (the default celltable and new resource
> get compiled into css)
> I have tried overriding the CellTable css but the styles are
> obfuscated
> I have tried extending the CellTable class but that seems a bit odd
> just to change the style of the celltable.
>
> What is the best way to change the cellTableHeader (or anyother) class
> style?

-- 
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