You can create a custom resources and initialize CellTable with them.

--
public class CustomTable<T> extends CellTable<T> {

  public static interface TableResources extends CellTable.Resources {
    @Source({CellTable.Style.DEFAULT_CSS, "CustomTable.css"})
    TableStyle cellTableStyle();
  }

  public static interface TableStyle extends CellTable.Style {}
  private static TableResources defaultResources =
GWT.create(TableResources.class);

  private TableResources resources;

  public CustomTable(int pageSize, ProvidesKey<T> keyProvider)
  {
    super(pageSize, defaultResources, keyProvider);
    ...
--


2011/10/6 Konstantin Zolotarev <[email protected]>

> How could I create such table ?
>
>
> <https://lh5.googleusercontent.com/-P1lNQo2h0OU/To1OkdUm0aI/AAAAAAAAAMk/9PQw283WFOo/Screenshot.jpg>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/gBKC-AZq9HwJ.
> 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