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?
This worked for me. Thanks Arun, for the good start.
grdAcc1.Height = grdAcc1.Rows.Count * grdAcc1.Rows[0].Height + grdAcc1.DisplayLayout.Bands[0].Header.Height + grdAcc1.DisplayLayout.Bands[0].Columns[0].Header.Height
hi Krugs,
grdAcc1.Height = grdAcc1.Rows.Count * grdAcc1.Rows.Item(0).Height + grdAcc1.DisplayLayout.Bands(0).Header.Height