Re: How to dynamically resize the table width after adding/removing columns?

2012-09-20 Thread James
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()

Re: How to dynamically resize the table width after adding/removing columns?

2012-09-20 Thread Andrei
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 to dynamically resize the table width after adding/removing columns?

2012-06-27 Thread javadev79
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