I have the same request. Can somebody answer this question?
James
On Wednesday, June 27, 2012 5:32:08 PM UTC-4, javadev79 wrote:
How do I ensure the datagrid expands to the total columns width or shrinks
to the minimum table width on adding/removing columns?
Using refreshColumnWidths()
If you want the width of the DataGrid to change, set width of all columns in
pixels, and use setWidth() on your DataGrid after each change.
If you want the width to be constant (a better option from the UI perspective,
in my opinion), set the width of your DataGrid once and set width of at
How do I ensure the datagrid expands to the total columns width or shrinks
to the minimum table width on adding/removing columns?
Using refreshColumnWidths() after add/remove columns has no effect.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit