Thursday, June 30, 2011

Re: R: Specifying cell width in cellTable

It seems GWT 2.3 CellTable creates this DOM structure

...
<thead>
...
</thead>
<colgroup>
    <col width="...">
    ...
</colgroup>
<tbody>
...
</tbody>
...

and sets width in each col element...
Try to do the same in your view code. (GwtQuery may be useful.)

Cheers,
Luca




2011/6/30 Issam <boualem.issam@gmail.com>
Thank you for your answer
But the problem is that I'm working by GWT 2.1 and I can't use the
method cellTable.setColumnWidth(column, width, unit)

So any help ?

On 30 juin, 15:42, icamts <ica...@gmail.com> wrote:
> Hi,
> for columns width have a look at
>
> http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideUiCel...
>
> For each input width you may need to provide your own version of the
> Inputcell: customize render method.
>
> Cheers,
> Luca

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment