I have tried the first solution, and I couldn't manage to read real
cell width at runtime. The second one is not suitable for me.

On Oct 13, 2:57 pm, jaga <j.annes...@gmail.com> wrote:
> I have the same problem.
>
> For me there are two solutions:
> 1) calculate the maximum field width at runtime by inspecting the row
> data. Then set the field header size.
> 2) leave as stock and listen for a mouse click or similar on each
> field header and then resize it.
>
> On Oct 10, 2:49 pm, misko237 <misk...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I have a problem with DataGrid in gwt 2.4. I made table with
> > CellTable, and everything worked fine. But I needed fixed header, and
> > then just replaced CellTable with DataGrid. I had problem with .css
> > file, but than has been resolved.
>
> > Now, the problem is that every column have fixed width. I need each
> > column width to be set as the widest cell in entire column.
>
> > Can someone help to make old looking, but with fixed header.
>
> > Thanks!

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to