Make detail rows take as much height as needed using lazy loading.
The following example shows how you can configure it so when doing master/detail, your detail rows automatically adjust their height to their content.
https://plnkr.co/edit/JjJzk9Muo80iaEI9
Note: This approach differs from the standard documented example below, as the height is set after the detail grid fetches data, i.e. after gridOptions.getRowHeight() is invoked:
https://www.ag-grid.com/javascript-data-grid/master-detail-height/#dynamic-height
Comments
0 comments
Please sign in to leave a comment.