diff --git a/projects/igniteui-angular/src/lib/grids/filtering/excel-style/grid.excel-style-filtering.component.ts b/projects/igniteui-angular/src/lib/grids/filtering/excel-style/grid.excel-style-filtering.component.ts index a4301304d78..b86d1651a87 100644 --- a/projects/igniteui-angular/src/lib/grids/filtering/excel-style/grid.excel-style-filtering.component.ts +++ b/projects/igniteui-angular/src/lib/grids/filtering/excel-style/grid.excel-style-filtering.component.ts @@ -501,7 +501,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy { private generateUniqueValues(columnValues: any[]) { if (this.column.dataType === DataType.String && this.column.filteringIgnoreCase) { - const filteredUniqueValues = columnValues.map(s => s?.toLowerCase()) + const filteredUniqueValues = columnValues.map(s => s?.toString().toLowerCase()) .reduce((map, val, i) => map.get(val) ? map : map.set(val, columnValues[i]), new Map);