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

[Solved] PageSizeDropDown drops down, out of viewable area

0 Answers 25 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
storyr
Top achievements
Rank 1
storyr asked on 10 Sep 2011, 06:08 PM

Our standard pager position is at the bottom, and we stretch our grids to fit the available vertical space - i.e. the pager is "stuck" near the bottom of the browser window.

Unfortunately, in this position, the page size dropdown drops down out of the viewable area - making it unusable.

Besides just reporting it, is there a suggestion for working around this?  The desired behavior would be to drop up when there's no room to drop down.


.Pageable( settings => settings
  .Total( 0 )
  .Position( GridPagerPosition.Bottom )
  .PageSize( 200, new int[] { 10, 20, 50, 100, 150, 200 } )
  .Style( GridPagerStyles.NextPreviousAndNumeric | GridPagerStyles.PageSizeDropDown ))          

Thanks!
Tags
Grid
Asked by
storyr
Top achievements
Rank 1
Share this question
or