Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

creating a fixed size window to control height of Grid

Is there a way to fix the height of a grid (that has its rows supplied by a rest service) so that it only can grow to a certain height and then will show a scroll bar if there are more rows than can be displayed.

The reason I ask this is because I have a set of buttons fixed in position at the bottom of the screen and I dont want the grid to show any data behind those buttons (which it currently does).

many thanks

Andy

Oleg Danchenkov
Posts: 0
Joined: Tue Apr 30, 2013 5:51 pm

creating a fixed size window to control height of Grid

Hi Andy.
Try to wrap Grid to a div with fixed height and style property
overflow-y: auto;

Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

creating a fixed size window to control height of Grid

thanks Oleg,

This is not something I've done before, can you give me an idea of how this is done please?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

creating a fixed size window to control height of Grid

Hi Andy,

Try placing Grid in HTML panel component and setting height and overflow-y: auto; for a Grid component, using CSS.

Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

creating a fixed size window to control height of Grid

Bingo! many thanks :-)

Return to “Issues”