thanks thomas

I start to use the cell widgets in my project tomorrow.

On Fri, Oct 22, 2010 at 3:11 PM, Thomas Broyer <[email protected]> wrote:

>
>
> On 22 oct, 14:33, Rodrigue Lagoue <[email protected]> wrote:
> > Hi all,
> >
> > does somebody know, if it is possible to customize the headers' style of
> a
> > CellTable. I would like to have for exemple header that looks like a
> > button...
>
> If you can do it entirely with CSS, then extend the CellTable.Resource
> and CellTable.Style to provide your own .cellTableHeader (and
> possibly .cellTableFirstColumnHeader and/
> or .celltableLastColumnHeader), and pass it to the constructor.
> This is used in the DynatableRf sample:
>
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/client/widgets/SummaryWidget.java#68
>
> Otherwise, you can provide your own Header implementation when adding
> a column, instead of giving the header as just the text (as a String).
> That way, you can generate the HTML snippet you want for your headers.
> This is used in the Expenses sample to make the table "sortable":
>
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/google/gwt/sample/expenses/client/SortableHeader.java
>
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/google/gwt/sample/expenses/client/ExpenseReportList.java#456
>
> You can of course use both at the same time, as is done in the
> Expenses sample:
>
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/google/gwt/sample/expenses/client/ExpenseReportList.java#463
>
> --
> 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]<google-web-toolkit%[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