22 Sep 2007 9:12 PM #1
resize the grid to the panel
I am using the feedviewer and the paging and remote dataset example to display a grid in the region center.
i would like the grid to fit 100 % of the center region and to autoresize with scrollbar when i resize the panels.
can you indicate how to do it or do you have example with this ?
thanks for your help
23 Sep 2007 2:11 PM #2
It depends on how you're laying out the Grid. The best way is to add the Grid to a GridPanel component and add that component to your BorderLayout's center region. Then just set one of the columns to be auto sized in the grids config, or set the columns to auto-size. That's about the easiest way to get it to work like you are after.'Once again, fortune vomits on my eiderdown'
- Edmund Blackadder