Pixel height for a related-entity grid: toolbar + header + rows + border
chrome + a horizontal-scrollbar allowance + a small bottom pad. No minimum
floor. When maxHeight is a positive number and the content is taller, the
returned height is that cap and AG Grid scrolls inside. Omit / null
maxHeight to grow with the rows.
scrollbarPx is the MEASURED height of AG Grid's horizontal scrollbar. AG Grid
lays that scrollbar out INSIDE the box it is given, so when the columns overflow
the container it eats into the last row unless it is budgeted here. A caller that
has measured it passes the number — 0 when there is no horizontal overflow, or
when the platform draws overlay scrollbars that take no layout space — and that
measurement replaces the fixed reserve. A caller that has not measured it omits
the argument and gets RELATED_GRID_HSCROLLBAR_PX whenever rows are shown, so
an unmeasured grid never clips a row on a classic-scrollbar platform. A negative
or non-finite value is not a measurement and falls back the same way. The
allowance never pushes the result past maxHeight.
Pixel height for a related-entity grid: toolbar + header + rows + border chrome + a horizontal-scrollbar allowance + a small bottom pad. No minimum floor. When
maxHeightis a positive number and the content is taller, the returned height is that cap and AG Grid scrolls inside. Omit / nullmaxHeightto grow with the rows.scrollbarPxis the MEASURED height of AG Grid's horizontal scrollbar. AG Grid lays that scrollbar out INSIDE the box it is given, so when the columns overflow the container it eats into the last row unless it is budgeted here. A caller that has measured it passes the number — 0 when there is no horizontal overflow, or when the platform draws overlay scrollbars that take no layout space — and that measurement replaces the fixed reserve. A caller that has not measured it omits the argument and getsRELATED_GRID_HSCROLLBAR_PXwhenever rows are shown, so an unmeasured grid never clips a row on a classic-scrollbar platform. A negative or non-finite value is not a measurement and falls back the same way. The allowance never pushes the result pastmaxHeight.