Hello,

I'm having an issue with 2 CellTables on the same page using the same
CellTableResource. 1st table is defined like this:

CellTableResource resource = GWT.create(CellTableResource.class);
CellTable<DataRecord> table1 = new CellTable<DataRecord>(100,
resource);

where CellTableResource is an interface that extends
CellTable.Resources that successfully maps to our custom css and
styles our first table correctly.

The issue is with table 2, which is defined like this:
CellTable.Resources tableResources =
GWT.create(CellTable.Resources.class);
CellTable<AddressRecord> table2 = new CellTable<AddressRecord>(25,
tableResources);

table2 seems to inherit table1's styling. I was expecting in this case
that table2 would use GWT's stock CellTable styling.

Can someone perhaps show me where I'm wrong/correct my
misunderstanding of how CellTables use Resources? Is there a way to
have multiple cellTables on one page that use different stylings?

One last thing, we are using GWT 2.2. It is difficult for us to
upgrade 2.3 at this point.

Thanks so much for your help,
Pedro

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