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
205
How to get the heights of the visible area of the wingrid
posted

I want to resize the grid height so that it can right fit all the visible row/row headers. I dont have a way to calculate the height.

I'm sure there's a way to get it since the grid needs this value for scrolling.

Apperciate the help in advance...

Parents
No Data
Reply
  • 1803
    posted
    Hi, experienced that there is no straight forward way to get the grid height so can try this piece of code .. Dim gridHeight As Integer = e.Row.Height * UltraGrid1.Rows.Count + UltraGrid1.DisplayLayout.Bands(0).Header.Height
Children
No Data