Fix Agent not working (#13126)

* Fix Agent display

* more fixes

* cleanup
This commit is contained in:
Charles Gagnon
2020-11-04 09:23:16 -08:00
committed by GitHub
parent eeb7da4ace
commit a0ee8b00fb
5 changed files with 44 additions and 71 deletions

View File

@@ -1584,6 +1584,7 @@ declare namespace Slick {
public setPagingOptions(args: PagingOptions): void;
public getPagingInfo(): PagingOptions;
public getItems(): T[];
public getFilteredItems(): T[]; // manually adding this type - it's present in the definition but not the typings file from DefinitelyTyped
public setItems(data: T[], objectIdProperty?: string): void;
public setFilter(filterFn: (item: T, args: any) => boolean): void; // todo: typeof(args)
public sort(comparer: Function, ascending: boolean): void; // todo: typeof(comparer), should be the same callback as Array.sort