View Full Version : center aligned gridpanel

23 Feb 2010, 8:41 AM
Got a gridpanel of width 200px.
Rendering to document.body

Is it possible to get gridpanel aligned center.

Or does it need a Viewport and render it in center region?

23 Feb 2010, 10:30 AM
you could throw a <center><div id='mygrid'></div></center> in the html of your document, and renderTo : mygrid. (i think)