Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
70
UltraWebgrid display error/Problem with grid height
posted

  We have used to set “Stationary Margins” property to fix grid header and we are setting grid height dynamically in the application. We have an option to select number of rows to be displayed per page and values are 2,5,10,15,20,25,30,40,50,75,100. We also have options for paging and grid header filtering.

             If number of rows > 10, we are displaying vertical scroll bar in the grid and setting "Stationary Margins" to "Header".  So, whenever user scrolls up/down, only records will be scrolling but the grid header is fixed and this is same with when user doing paging (navigation between pages) and filtering.

 If number of rows < 10, we are not displaying vertical scroll bar and not setting "Stationary Margins" (i.e no stationary margins). We are setting grid height dynamically based no of rows to be displayed in the grid. But, some times, if no of rows < 10, a gray bar (Empty row) is appearing at the bottom of grid and first row is hidden off and is going behind the grid header.

Note :  We are using Infragistics version 8.2 and .Net 3.5

 How to set Infragistics grid height dynamically as per above requirement?

 Any help or guidance would be great assistance. See attachment.

Grid-display-error.zip