My ag grid includes custom components for each column, but I'm facing an issue where the components disappear when filtering the data. For example: the component inside the row
To apply filtering, I use an input with a filtering function:
<data-grid [rowData]="filteredData(searchInput.query)"/>
The data-grid selector contains a standard ag-grid-angular component:
<ag-grid-angular
style="width: 100%; height: 350px;"
class="ag-theme-alpine-dark"
[rowData]="rowData"
[columnDefs]="columnDefs" />
After filtering, the custom component inside the row disappears: no component
What could be causing this problem? Thank you in advance.
I expected the components inside the rows to remain visible after filtering, but so far, I haven't had any luck finding information on re-rendering in the documentation.