Skip to content

Commit bf7dbf1

Browse files
authored
Merge branch '9.1.x' into mkirova/fix-8104
2 parents c9ca8e2 + fa249ae commit bf7dbf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/filtering/excel-style/grid.excel-style-filtering.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy {
616616

617617
private generateUniqueValues(columnValues: any[]) {
618618
if (this.column.dataType === DataType.String && this.column.filteringIgnoreCase) {
619-
const filteredUniqueValues = columnValues.map(s => s?.toLowerCase())
619+
const filteredUniqueValues = columnValues.map(s => s?.toString().toLowerCase())
620620
.reduce((map, val, i) => map.get(val) ? map : map.set(val, columnValues[i]),
621621
new Map);
622622

0 commit comments

Comments
 (0)