Skip to content

Commit 42ad294

Browse files
committed
feat(esf): update search size & add docs #5448
1 parent 9ef3403 commit 42ad294

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes for each version of this project will be documented in this file.
44

5+
## 8.2.0
6+
7+
### New Features
8+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
9+
- `uniqueColumnValuesStrategy` input is added. This property provides a callback for loading unique column values on demand. If this property is provided, the unique values it generates will be used by the Excel Style Filtering (instead of using the unique values from the data that is bound to the grid).
10+
- `igxExcelStyleLoading` directive is added, which can be used to provide a custom loading template for the Excel Style Filtering. If this property is not provided, a default loading template will be used instead.
11+
### General
12+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
13+
- **Breaking Change** `igxExcelStyleSortingTemplate` directive is renamed to `igxExcelStyleSorting`.
14+
- **Breaking Change** `igxExcelStyleMovingTemplate` directive is renamed to `igxExcelStyleMoving`.
15+
- **Breaking Change** `igxExcelStyleHidingTemplate` directive is renamed to `igxExcelStyleHiding`.
16+
- **Breaking Change** `igxExcelStylePinningTemplate` directive is renamed to `igxExcelStylePinning`.
17+
518
## 8.1.2
619

720
### New Features

projects/igniteui-angular/src/lib/grids/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ Below is the list of all inputs that the developers may set to configure the gri
174174
|`filteringLogic`| FilteringLogic | The filtering logic of the grid. Defaults to _AND_. |
175175
|`filteringExpressionsTree`| IFilteringExpressionsTree | The filtering state of the grid. |
176176
|`emptyFilteredGridMessage`| string | The message displayed when there are no records and the grid is filtered.|
177+
|`uniqueColumnValuesStrategy`| void | Property that provides a callback for loading unique column values on demand. If this property is provided, the unique values it generates will be used by the Excel Style Filtering. |
177178
|`sortingExpressions`|Array|The sorting state of the grid.|
178179
|`rowSelectable`|boolean|Enables multiple row selection, default is _false_.|
179180
|`height`|string|The height of the grid element. You can pass values such as `1000px`, `75%`, etc.|

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ export class IgxExcelStyleSearchComponent implements AfterViewInit {
7878
constructor(private _cdr: ChangeDetectorRef) { }
7979

8080
public ngAfterViewInit() {
81+
this.refreshSize();
82+
}
83+
84+
public refreshSize() {
8185
requestAnimationFrame(() => {
8286
this.virtDir.recalcUpdateSizes();
8387
});

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy, OnInit, A
360360

361361
this.renderValues(columnValues);
362362
this.excelStyleSearch.isLoading = false;
363+
this.excelStyleSearch.refreshSize();
363364
});
364365
}
365366

0 commit comments

Comments
 (0)