PDA

View Full Version : How to display full widget within TableItem and Table?



andrey
9 Jun 2008, 10:44 AM
If I place a widget into a TableItem that is explicitly sized (say width=100, height=200), the table row doesn't adjust to accomodate the full size of the widget. That is, the widget is clipped. Does the GXT Table support variable sized rows and how can it be setup to adjust the row height based on the height of corresponding TableItem's widget (set via TableItem.setWidget())?

Thx,
Andre

andrey
11 Jun 2008, 7:46 AM
A related question is how can one control the height of the table rows. I've tried using TableItem.setHeight() but the component height setting seems to be ignored. I've tried setting the CSS styling rules but this seems to influence the widgets but the row height remains fixed and the widgets get clipped.

Is this a bug or is there some way to control table row heights?

andrey
14 Jun 2008, 4:36 PM
Uhhh, can someone delete the SPAM account 'Pereftiyo (http://www.extjs.com/forum/member.php?u=39182)'?

andrey
18 Jun 2008, 1:11 PM
This issue seems to have been resolved in beta5.

Xbase
13 Jul 2008, 11:37 PM
Hello,

i've the same problem with IE. With FF 2.0 it works fine.

I set a ContentPanel in the cell. The rowheight ist too small and i cant set the height manually per CSS.

What can i do ?

I use:
GWT 1.5 RC1
ExtGwt 1.0
HostedMode

Thanks.
XBase