Merge branch 'feature/SUPPORT-8831_for_update_up_to_3_188' into develop

This commit is contained in:
Рауф Латыпов 2025-04-14 12:38:10 +03:00
commit 7b52493322

View file

@ -31,9 +31,6 @@ import {AuditConstants, AuditService, FilterInfo} from "../../service/AuditServi
changeDetection: ChangeDetectionStrategy.OnPush
})
export class InMemoryStaticGrid extends GridV2 {
// todo: remove on updating platform version up to 3.188
@Visible("false")
public columnFiltersChanged: Event<any> = new Event<any>();
private rpcService: InMemoryStaticGridRpcService;
private auditService: AuditService;
@ -154,17 +151,4 @@ export class InMemoryStaticGrid extends GridV2 {
public getRowDataSize(): number {
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) {
super.columnFilterChanged(event);
this.columnFiltersChanged.trigger(event);
}
}