This example dynamically changes the height of the grid to match the total height of the visible rows.
The GridControl.CalcBestSize method calculates the maximum allowable size of the Grid Control (to display as many data rows and columns as possible).
(you will be redirected to DevExpress.com to submit your response)