query result - use editor behaviour from driver

This commit is contained in:
SPRINX0\prochazka
2024-10-08 15:12:12 +02:00
parent 6806620d90
commit beaff158cc
4 changed files with 27 additions and 19 deletions

View File

@@ -3,6 +3,7 @@ import { GridDisplay, ChangeCacheFunc, ChangeConfigFunc } from './GridDisplay';
import { GridConfig, GridCache } from './GridConfig';
import { analyseCollectionDisplayColumns } from './CollectionGridDisplay';
import { evalFilterBehaviour } from 'dbgate-tools';
import { EngineDriver } from 'dbgate-types';
export class JslGridDisplay extends GridDisplay {
constructor(
@@ -15,9 +16,10 @@ export class JslGridDisplay extends GridDisplay {
rows: any,
isDynamicStructure: boolean,
supportsReload: boolean,
editable: boolean = false
editable: boolean = false,
driver: EngineDriver = null
) {
super(config, setConfig, cache, setCache, null);
super(config, setConfig, cache, setCache, driver);
this.filterable = true;
this.sortable = true;