En mi código, estoy usando AG-Grid con la propiedad de detalle maestro para mostrar algunos datos. El código no recibe ningún error y la fila maestra tiene registros, pero cuando amplío el detalle, no hay 1 fila presente aunque en la red, params.data tiene valores. Mi código está abajo. ¿Qué estoy haciendo mal y cómo debo solucionarlo?

constructor( private _reportService: ReportService, ) { this._reportService .getAllSupplierProductList() .subscribe((response: any) => { this.rowData = response; }); } public detailCellRendererParams: any = { detailGridOptions: { columnDefs: [ { headerName: 'Ürün Kodu', field: 'StockIntegrationCode' }, { headerName: 'Ürün Adı', field: 'ProductName' }, { headerName: 'Ürün Kategorisi', field: 'CategoryName' }, ], defaultColDef: { flex: 1, filter: 'agTextColumnFilter', resizable: true, sortable: true, floatingFilter: true, }, }, getDetailRowData: (params) => { params.successCallback(params.data.StockIntegrationCode && params.data.ProductName && params.data.CategoryName); }, } as IDetailCellRendererParams; rowData: Observable<IReportRow[]>; onFirstDataRendered(params: FirstDataRenderedEvent) { // arbitrarily expand a row for presentational purposes setTimeout(function () { params.api.getDisplayedRowAtIndex(1)!.setExpanded(true); }, 0); } onGridReady(params: GridReadyEvent) { }En la función getDetailRowData , recibe params.data , que son los datos de la fila maestra. Debe obtener detalles y pasarlos a la función params.successCallback de esta manera:
getDetailRowData: (params) => { this._reportService .getProductList(params.data.SupplierId) .subscribe(products => { params.successCallback(products); }); }