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 <[email protected]> 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 [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.
