dynamic loading of next rows

This commit is contained in:
Jan Prochazka
2020-03-05 14:25:07 +01:00
parent ffe8f1027f
commit 6b3e4e7cbf
4 changed files with 99 additions and 42 deletions

View File

@@ -1,9 +1,14 @@
import GridConfig from "./GridConfig";
export interface DisplayColumn {
columnName: string;
}
export default abstract class GridDisplay {
constructor(
public config: GridConfig,
protected setConfig: (configh: GridConfig) => void
) {}
abstract getPageQuery(offset: number, count: number): string;
columns: DisplayColumn[];
}