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
60
Resize grid to just fit all the rows?
posted

Is there a way to tell the UltraGrid to resize so that the grid is just tall enough to display all the rows in the grid? 

Parents
  • 1803
    posted

    hi Krugs,

    try out this way,, in initialize event setting the grid height...

    grdAcc1.Height = grdAcc1.Rows.Count * grdAcc1.Rows.Item(0).Height + grdAcc1.DisplayLayout.Bands(0).Header.Height

     

     

     

Reply Children
No Data