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
720
How to fit the grid height size to the last row?
posted

Hi,

i would like to know if it is possible to fit the height of the grid to the last row shown?

for example, sometimes, i have 1 row and the grid is too big... (shown as popup)

and for sometimes, i get 100 rows... that's why i would like to adapt the grid height size depending of the number of row...

 

Thank you...

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    There is nothing built-in to the grid to do this. You should Submit a feature request to Infragistics.

    You could try to calculate this yourself. It's a bit tricky, but it's easier for you to do it than for the grid to do this, since you know what features of the grid you are using. You will need to account for the grid's Borders, column header, and the height of each row, in addition to the horizontal scrollbar, if there is one.

Children
No Data