[Users] GridPanel autoHeight

Alexandre Dube adube at mapgears.com
Thu May 14 15:57:10 CEST 2009


Hi Pierre,

  I checked the property and indeed it helps gaining performance.  It's 
already set to true by default btw.

  Thanks,

Alexandre

Pierre Giraud wrote:
> Now, I get it.
> So I think the FitLayout is great for that.
>
> Also consider using the defferedRender property in your TabPanel. It 
> might help sometimes with layout and/or performance issues.
>
> Regards,
> Pierre
>
>
>
> On Thu, May 14, 2009 at 2:24 PM, Alexandre Dube <adube at mapgears.com 
> <mailto:adube at mapgears.com>> wrote:
>
>     Hi Pierre,
>
>      I need to have an extra panel because one GripPanel is created for
>     each server-side layer that returns result from one or more
>     GetFeatureInfo request(s).  Since each server-side layer has its own
>     attributes, their records must be in different grids.  The panel that
>     contains then is a TabPanel.  Do you get the picture ?
>
>      Thanks a lot for your time,
>
>     Alexandre
>
>     Pierre Giraud wrote:
>     > Hi,
>     >
>     > Setting a 'fit' layout to the container is always a good solution in
>     > this type of situation.
>     > But, how about defining the GridPanel directly as the south
>     region of
>     > your border layout ? If that doesn't make sense I can provide an
>     > example of code.
>     >
>     > Pierre
>     >
>     > On Wed, May 13, 2009 at 3:18 PM, Alexandre Dube
>     <adube at mapgears.com <mailto:adube at mapgears.com>
>     > <mailto:adube at mapgears.com <mailto:adube at mapgears.com>>> wrote:
>     >
>     >     Hi,
>     >
>     >      Nevermind, layout: 'fit' on the container did the trick.  Still
>     >     wondering about drake, though.
>     >
>     >     Alexandre
>     >
>     >     Alexandre Dube wrote:
>     >     > Hi users,
>     >     >
>     >     >   Does anybody know if there's a new link for the drake (1)
>     >     example ?
>     >     > The link is broken.
>     >     >
>     >     >   Basically, I need to know how the south panel containing the
>     >     feature
>     >     > grid was created.  I have trouble customizing my own
>     GridPanel with
>     >     > autoHeight.  To be able to have a scrollbar, I must define a
>     >     height or
>     >     > the parent panel must define its children height
>     properties.  I
>     >     wanted
>     >     > to check how drake accomplished that.  I remember a bbar to
>     >     display a
>     >     > portion of the results at a time, like 1-7/42 on page 1,
>     8-14/42
>     >     on page
>     >     > 2, etc.
>     >     >
>     >     >   Many thanks,
>     >     >
>     >     > (1)
>     >    
>     http://geo.openplans.org/geoext/drake/tags/v0.1/apps/drake/drake1.html
>     >     >
>     >     >
>     >
>     >
>     >     --
>     >     Alexandre Dubé
>     >     Mapgears
>     >     www.mapgears.com <http://www.mapgears.com>
>     <http://www.mapgears.com>
>     >
>     >     _______________________________________________
>     >     Users mailing list
>     >     Users at geoext.org <mailto:Users at geoext.org>
>     <mailto:Users at geoext.org <mailto:Users at geoext.org>>
>     >     http://www.geoext.org/cgi-bin/mailman/listinfo/users
>     >
>     >
>     >
>     >
>     > --
>     > Pierre GIRAUD
>     > Géomaticien, Analyste
>     >
>     > Camptocamp France SAS
>     > Savoie Technolac, BP 352
>     > 73377 Le Bourget du Lac, Cedex
>     >
>     > Tel : 00 33 4 79 44 44 93
>     > Mail : pierre.giraud at camptocamp.com
>     <mailto:pierre.giraud at camptocamp.com>
>     <mailto:pierre.giraud at camptocamp.com
>     <mailto:pierre.giraud at camptocamp.com>>
>     > http://www.camptocamp.com
>
>
>     --
>     Alexandre Dubé
>     Mapgears
>     www.mapgears.com <http://www.mapgears.com>
>
>     _______________________________________________
>     Users mailing list
>     Users at geoext.org <mailto:Users at geoext.org>
>     http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> -- 
> Pierre GIRAUD
> Géomaticien, Analyste
>
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
>
> Tel : 00 33 4 79 44 44 93
> Mail : pierre.giraud at camptocamp.com <mailto:pierre.giraud at camptocamp.com>
> http://www.camptocamp.com  


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the Users mailing list