igniteui-angular 22.0.0-rc.2 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/igniteui-angular-grids-core.mjs +10 -1
- package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
- package/package.json +2 -2
- package/skills/igniteui-angular-grids/references/sizing.md +1 -0
- package/skills/igniteui-angular-grids/references/structure.md +1 -0
- package/skills/igniteui-angular-grids/references/types.md +2 -1
- package/types/igniteui-angular-grids-core.d.ts +1 -0
|
@@ -8567,6 +8567,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
|
|
|
8567
8567
|
}]
|
|
8568
8568
|
}] });
|
|
8569
8569
|
let NEXT_ID = 0;
|
|
8570
|
+
const TREE_GRID_GROUPING_HIDDEN_FIELD = '_Igx_Hidden_Data_';
|
|
8570
8571
|
/**
|
|
8571
8572
|
* A component used for presenting Excel style search UI.
|
|
8572
8573
|
*/
|
|
@@ -9039,7 +9040,7 @@ class IgxExcelStyleSearchComponent {
|
|
|
9039
9040
|
searchVal = new Set(selectedItems.map(e => e.value.toLocaleTimeString()));
|
|
9040
9041
|
break;
|
|
9041
9042
|
case GridColumnDataType.String:
|
|
9042
|
-
if (this.esf.column.filteringIgnoreCase && !this.isHierarchical() && !this.isRemote()) {
|
|
9043
|
+
if (this.esf.column.filteringIgnoreCase && !this.isHierarchical() && !this.isTreeGridWithGroupBy() && !this.isRemote()) {
|
|
9043
9044
|
const selectedValues = new Set(selectedItems.map(item => item.value.toLowerCase()));
|
|
9044
9045
|
searchVal = new Set();
|
|
9045
9046
|
this.esf.grid.data.forEach(item => {
|
|
@@ -9301,6 +9302,14 @@ class IgxExcelStyleSearchComponent {
|
|
|
9301
9302
|
const subRequired = indexOutOfChunk || scrollNeeded;
|
|
9302
9303
|
return subRequired;
|
|
9303
9304
|
}
|
|
9305
|
+
isTreeGridWithGroupBy() {
|
|
9306
|
+
if (this.esf.grid.type !== 'tree') {
|
|
9307
|
+
return false;
|
|
9308
|
+
}
|
|
9309
|
+
const data = this.esf.grid.data;
|
|
9310
|
+
const firstRecord = Array.isArray(data) && data.length > 0 ? data[0] : null;
|
|
9311
|
+
return !!firstRecord && typeof firstRecord === 'object' && Object.prototype.hasOwnProperty.call(firstRecord, TREE_GRID_GROUPING_HIDDEN_FIELD);
|
|
9312
|
+
}
|
|
9304
9313
|
isRemote() {
|
|
9305
9314
|
return this.esf.grid.verticalScrollContainer.isRemote || this.esf.grid.pagingMode === GridPagingMode.Remote;
|
|
9306
9315
|
}
|