PDA

View Full Version : Problems with Gridpanel



SCYForce
30 Sep 2009, 10:44 PM
I put a gridpanel inside a portlet. I dont use items[gridpanel] to put the gridpanel in the portlet, I just render the grid to a div, but the div is inside the panel.

I set the gridpanel autoWidth == true. Since the width of that portlet is limited, so I only put 2 columns on that grid, also what I want to do is when the broswer resizes, the columns on the grid can autofit the portlet width. Are there any solutions how to implement this? Thanks!

Animal
30 Sep 2009, 11:37 PM
What do the docs for the render method say? Please report back anything you think might be relevant.