This is a migrated thread and some comments may be shown as answers.

Setting Grid Height

1 Answer 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 09 Jun 2010, 10:39 AM
i need to restrict the grid to a specific height. the idea being that verticle scroll bars will appear allowing me the scroll down to those rows that aren't initially displayed.

is this possible ?

if i set the height of the grid with the height property (i.e. Height="400px"), strange things happen. all the controls that were previously under the grid now appear in the middle of the grid, but the grid still takes up it's original height.

i can set the page size, but each row is of variable height, so the grid's height will vary according to what page it is displaying. i want the grid's height to remain static.

Thanks



1 Answer, 1 is accepted

Sort by
0
Andy
Top achievements
Rank 1
answered on 09 Jun 2010, 10:51 AM

typical. no sooner than i post a question, i discover the answer.

oh well, for anyone else that has this question ...

i just added this to clientsettings ...

<

 

Scrolling AllowScroll="true" ScrollHeight="400px" UseStaticHeaders="true" />

 

 

 

 

 

Tags
Grid
Asked by
Andy
Top achievements
Rank 1
Answers by
Andy
Top achievements
Rank 1
Share this question
or