Skip to content

Commit 0f17124

Browse files
authored
Merge branch '10.1.x' into mkirova/fix-8104-10.1.x
2 parents d8fb213 + c20e05d commit 0f17124

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
@@ -494,7 +494,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy {
494494

495495
private generateUniqueValues(columnValues: any[]) {
496496
if (this.column.dataType === DataType.String && this.column.filteringIgnoreCase) {
497-
const filteredUniqueValues = columnValues.map(s => s?.toLowerCase())
497+
const filteredUniqueValues = columnValues.map(s => s?.toString().toLowerCase())
498498
.reduce((map, val, i) => map.get(val) ? map : map.set(val, columnValues[i]),
499499
new Map);
500500

0 commit comments

Comments
 (0)