Welcome Guest Search | Active Topics | Sign In | Register

Grid Height 100% not working Options
Lorena
Posted: Friday, December 21, 2012 2:39:48 PM
Rank: Newbie
Groups: Member

Joined: 12/21/2012
Posts: 1
I'm testing Essencial Object but
Code: Visual Basic.NET
Is there a way to make the grid fill 100% of the height of the page? I tried height="100%" and leaving height empty, but in both cases the grid just squashes down to nothing.
eo_support
Posted: Friday, December 21, 2012 2:43:39 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

No. As a general rule, 100% will never work. The reason is HTML page height depends on its content height, and if you make the content height to depend on page height, then you end up with a circular dependency that can't be resolved. 100% will work if the parent element's height is known (for example, if you put the Grid into a DIV with fixed height and then set the Grid's Height to 100%, then it will work because the parent element's height is known in this case). In all other cases, 100% will not work.

Thanks
Software Administrator
Posted: Saturday, December 21, 2013 6:21:34 AM
Rank: Newbie
Groups: Member

Joined: 12/25/2008
Posts: 8
Hi, I have tested both your Grid and the GridView from Microsoft in the same page. Microsoft GridView is working perfectly with height and width set at 100%.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.