Rank: Newbie Groups: Member
Joined: 12/21/2012 Posts: 1
|
I'm testing Essencial Object but
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.
|
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
|
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%.
|