GWT Cell Table Re sizing

83 views
Skip to first unread message

gangurg gangurg

unread,
Sep 21, 2011, 8:01:13 PM9/21/11
to Google-We...@googlegroups.com
1.How do i re size the Cell Table  if the window re sizes . By default say I raw a cell table with 25 rows and when the the window is shrink ed in size to show 20 rows , then scroll bar should automatically appear on the table .
2. Is it possible to resize the Cell table column after it is rendered . Like User can drag the columns  to see more data . 

-sowdri-

unread,
Sep 22, 2011, 2:06:37 AM9/22/11
to google-we...@googlegroups.com, Google-We...@googlegroups.com
Do not try to resize the celltable, resize the div (Flowpanel or similar) that is holding the celltable.

 >>  By default say I raw a cell table with 25 rows and when the the window is shrink ed in size to show 20 rows , then scroll bar should automatically appear on the table .

The browser must automatically handle this for you. 

Make sure you have the css property, 

div.celltable-container {
overflow: scroll;
}
Reply all
Reply to author
Forward
0 new messages