'Ag Grid React. Master Detail Chevron Doesn't show if grid has a rowModelType of viewport

I've added props necessary to enable the master detail grid (i.e. masterDetail, detailCellRenderer, and frameworkComponents). The master detail grid functionality works fine if the grid is not a view port, but for this use case it requires displaying a window of a large set of data, calling an api to fetch another window of data when paginating, and apply the data to the grid via this.params.setRowData(data);

For some reason, the master detail grid doesn't work if the rowModelType is viewport. How can I make it work with the viewport?

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source