SUPPORT-8975: fixes
This commit is contained in:
parent
f175ef88c9
commit
8b136af484
1 changed files with 0 additions and 3 deletions
|
|
@ -20,7 +20,6 @@ import {StaticColumnInitializer} from "./StaticColumnInitializer";
|
|||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class ErvuStaticGrid extends GridV2 {
|
||||
// todo: remove on updating platform version up to 3.188
|
||||
@Visible("false")
|
||||
public columnFiltersChanged: Event<any> = new Event<any>();
|
||||
private rpcService: GridRpcService;
|
||||
|
|
@ -80,14 +79,12 @@ export class ErvuStaticGrid extends GridV2 {
|
|||
return this.rowData ? this.rowData.length : 0;
|
||||
}
|
||||
|
||||
// todo: remove on updating platform version up to 3.188
|
||||
@Visible()
|
||||
public hasColumnFilters(): boolean {
|
||||
const filterModel: { [key: string]: any; } = this.gridApi.getFilterModel();
|
||||
return !!filterModel && Object.keys(filterModel).length > 0;
|
||||
}
|
||||
|
||||
// todo: remove on updating platform version up to 3.188
|
||||
public columnFilterChanged(event: FilterChangedEvent) {
|
||||
this.columnFiltersChanged.trigger(event);
|
||||
super.columnFilterChanged(event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue