5 Oct 2010 6:47 AM #1
problem setting height dynamicly of a grid when autoHeight is already set
Does anyone know how to toggle between autoheight is true and setting a height dynamicly of a grid.
Mygrid is on a normal page without a viewport.
If I do this, then I loose the scrollbar
Does anyone has a solution for this?
Thanks in adv, Richard
6 Oct 2010 2:18 AM #2
- Join Date
- Mar 2007
- The Netherlands
- Vote Rating
I would advise against this.
Leave your grid set to autoHeight:true and calculate the required height of the grid by getting the scroller height and adding the header and footer heights.
By brigot in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 23 Feb 2010, 12:02 PM
By cprabha in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 17 Mar 2009, 10:09 PM
By Dumbledore in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 3 Sep 2008, 10:53 PM
By Phunky in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 9 Jan 2008, 2:57 AM