@genesislcap/grid-pro 14.158.0 → 14.158.1-beta.c41ab3f.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +40 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +11 -24
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +7 -2
- package/dist/grid-pro.api.json +30 -0
- package/dist/grid-pro.d.ts +11 -24
- package/docs/api/grid-pro.gridprogenesisdatasource.keepcoldefsonclearrowdata.md +11 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.md +1 -0
- package/docs/api-report.md +2 -0
- package/package.json +13 -13
|
@@ -6768,6 +6768,18 @@
|
|
|
6768
6768
|
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
6769
6769
|
}
|
|
6770
6770
|
},
|
|
6771
|
+
{
|
|
6772
|
+
"kind": "field",
|
|
6773
|
+
"name": "keepColDefsOnClearRowData",
|
|
6774
|
+
"type": {
|
|
6775
|
+
"text": "boolean"
|
|
6776
|
+
},
|
|
6777
|
+
"default": "false",
|
|
6778
|
+
"inheritedFrom": {
|
|
6779
|
+
"name": "GridProGenesisDatasource",
|
|
6780
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
6781
|
+
}
|
|
6782
|
+
},
|
|
6771
6783
|
{
|
|
6772
6784
|
"kind": "field",
|
|
6773
6785
|
"name": "dataSub",
|
|
@@ -7676,6 +7688,18 @@
|
|
|
7676
7688
|
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
7677
7689
|
}
|
|
7678
7690
|
},
|
|
7691
|
+
{
|
|
7692
|
+
"name": "keep-col-defs-on-clear-row-data",
|
|
7693
|
+
"type": {
|
|
7694
|
+
"text": "boolean"
|
|
7695
|
+
},
|
|
7696
|
+
"default": "false",
|
|
7697
|
+
"fieldName": "keepColDefsOnClearRowData",
|
|
7698
|
+
"inheritedFrom": {
|
|
7699
|
+
"name": "GridProGenesisDatasource",
|
|
7700
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
7701
|
+
}
|
|
7702
|
+
},
|
|
7679
7703
|
{
|
|
7680
7704
|
"name": "criteria",
|
|
7681
7705
|
"type": {
|
|
@@ -9581,6 +9605,14 @@
|
|
|
9581
9605
|
},
|
|
9582
9606
|
"default": "false"
|
|
9583
9607
|
},
|
|
9608
|
+
{
|
|
9609
|
+
"kind": "field",
|
|
9610
|
+
"name": "keepColDefsOnClearRowData",
|
|
9611
|
+
"type": {
|
|
9612
|
+
"text": "boolean"
|
|
9613
|
+
},
|
|
9614
|
+
"default": "false"
|
|
9615
|
+
},
|
|
9584
9616
|
{
|
|
9585
9617
|
"kind": "field",
|
|
9586
9618
|
"name": "dataSub",
|
|
@@ -10473,6 +10505,14 @@
|
|
|
10473
10505
|
"default": "false",
|
|
10474
10506
|
"fieldName": "restartOnReconnection"
|
|
10475
10507
|
},
|
|
10508
|
+
{
|
|
10509
|
+
"name": "keep-col-defs-on-clear-row-data",
|
|
10510
|
+
"type": {
|
|
10511
|
+
"text": "boolean"
|
|
10512
|
+
},
|
|
10513
|
+
"default": "false",
|
|
10514
|
+
"fieldName": "keepColDefsOnClearRowData"
|
|
10515
|
+
},
|
|
10476
10516
|
{
|
|
10477
10517
|
"name": "criteria",
|
|
10478
10518
|
"type": {
|
|
@@ -46,18 +46,21 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
46
46
|
readonly classList: DOMTokenList;
|
|
47
47
|
className: string;
|
|
48
48
|
readonly clientHeight: number;
|
|
49
|
-
readonly clientLeft: number;
|
|
50
|
-
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
51
|
-
* @public
|
|
52
|
-
*/
|
|
49
|
+
readonly clientLeft: number;
|
|
53
50
|
readonly clientTop: number;
|
|
54
51
|
readonly clientWidth: number;
|
|
55
52
|
id: string;
|
|
56
53
|
readonly localName: string;
|
|
57
54
|
readonly namespaceURI: string;
|
|
55
|
+
/**
|
|
56
|
+
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
58
59
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
59
60
|
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
60
|
-
outerHTML: string;
|
|
61
|
+
outerHTML: string; /**
|
|
62
|
+
* Force the grid to redispatch the current rows
|
|
63
|
+
*/
|
|
61
64
|
readonly ownerDocument: Document;
|
|
62
65
|
readonly part: DOMTokenList;
|
|
63
66
|
readonly prefix: string;
|
|
@@ -68,12 +71,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
68
71
|
readonly shadowRoot: ShadowRoot;
|
|
69
72
|
slot: string;
|
|
70
73
|
readonly tagName: string;
|
|
71
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
72
|
-
* Clears the rowData and columnDefs for the grid.
|
|
73
|
-
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
74
|
-
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
74
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
77
75
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
78
76
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
79
77
|
closest<E extends Element = Element>(selectors: string): E;
|
|
@@ -99,12 +97,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
99
97
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
100
98
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
101
99
|
matches(selectors: string): boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
104
|
-
* Proxies to {@link @genesislcap/grid-pro#GridProGenesisDatasource.loadResourceData} but without the full init (no metadata fetch).
|
|
105
|
-
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
100
|
releasePointerCapture(pointerId: number): void;
|
|
109
101
|
removeAttribute(qualifiedName: string): void;
|
|
110
102
|
removeAttributeNS(namespace: string, localName: string): void;
|
|
@@ -118,13 +110,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
118
110
|
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
119
111
|
scrollTo(options?: ScrollToOptions): void;
|
|
120
112
|
scrollTo(x: number, y: number): void;
|
|
121
|
-
setAttribute(qualifiedName: string, value: string): void;
|
|
122
|
-
* Initializes the datasource and loads the data for the grid.
|
|
123
|
-
* Handles both snapshot and stream data (for both REQUEST_SERVER and DATASERVER resource types).
|
|
124
|
-
*
|
|
125
|
-
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
113
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
128
114
|
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
129
115
|
setAttributeNode(attr: Attr): Attr;
|
|
130
116
|
setAttributeNodeNS(attr: Attr): Attr;
|
|
@@ -362,6 +348,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
362
348
|
request: any;
|
|
363
349
|
resourceNameChanged(oldValue: string, newValue: string): void;
|
|
364
350
|
restartOnReconnection: boolean;
|
|
351
|
+
keepColDefsOnClearRowData: boolean;
|
|
365
352
|
private dataSub;
|
|
366
353
|
private updateSub;
|
|
367
354
|
private connectionSub;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EACL,IAAI,EACJ,UAAU,EAYX,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EACL,IAAI,EACJ,UAAU,EAYX,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgNpE;;;OAGG;;;uBAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhNL;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAqC;IAC3E,IAAI,EAAG,IAAI,CAAC;IACN,UAAU,EAAG,UAAU,CAAC;IAEpC,aAAa,SAAsB;IACnC,kBAAkB,SAA2B;IAG7C,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IASf,eAAe,EAAE,MAAM,CACf;IACQ,cAAc,EAAE,OAAO,CAAS;IAC7E,OAAO,EAAE,GAAG,CAAC;IAEzB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAKW,qBAAqB,UAAS;IAG/F,yBAAyB,UAAS;IAElC,OAAO,CAAC,OAAO,CAAe;IAC9B,OAAO,CAAC,SAAS,CAAe;IAChC,OAAO,CAAC,aAAa,CAAe;IAEpC,OAAO,CAAC,6BAA6B,CAAQ;IAE7C,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAO,CAAC,mBAAmB,CAAkC;IAC7D,OAAO,CAAC,MAAM,CAAwE;IAEtF,iBAAiB;IAuBjB,oBAAoB;IAWX,SAAS,IAAI,IAAI;IAU1B;;;;OAIG;IACG,IAAI;IAsDV;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA8BL;;;OAGG;IACH,OAAO;IAKP;;OAEG;IACH,WAAW;IAIX;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAUlB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAWpB;;;;OAIG;YACW,UAAU;IAmCxB;;;;;OAKG;YACW,kBAAkB;IAYhC;;;;;;OAMG;YACW,gBAAgB;IA0D9B,OAAO,CAAC,cAAc;IActB,YAAY,CAAC,MAAM,KAAA;IAOnB,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IA2C9B,OAAO,CAAC,mBAAmB;YAsBb,eAAe;IAc7B,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;IAK5B,gBAAgB,CACvB,aAAa,EAAE,kBAAkB,GAChC,kBAAkB,GAAG,IAAI,GAAG,SAAS;IAI/B,qBAAqB,CAC5B,aAAa,EAAE,kBAAkB,EACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,GAC3C,IAAI;CAGR"}
|
|
@@ -24,6 +24,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
24
24
|
this.pollingInterval = DatasourceDefaults.REQ_REP_POLLING_INTERVAL_MS;
|
|
25
25
|
this.disablePolling = false;
|
|
26
26
|
this.restartOnReconnection = false;
|
|
27
|
+
this.keepColDefsOnClearRowData = false;
|
|
27
28
|
this.requiresFullRowDataAndColDefs = true;
|
|
28
29
|
this.criteriaFromFilters = new Map();
|
|
29
30
|
this.update = new BehaviorSubject(new Map());
|
|
@@ -84,6 +85,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
84
85
|
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
85
86
|
*/
|
|
86
87
|
init() {
|
|
88
|
+
var _a, _b;
|
|
87
89
|
return __awaiter(this, void 0, void 0, function* () {
|
|
88
90
|
if (this.agGrid &&
|
|
89
91
|
this.datasource.validResourceName(this.resourceName) &&
|
|
@@ -97,7 +99,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
97
99
|
return;
|
|
98
100
|
}
|
|
99
101
|
this.isRequestServer = meta.TYPE === ResourceType.REQUEST_SERVER;
|
|
100
|
-
const gridOptions = Object.assign({ getRowId: (params) => params.data[this.rowId] }, this.deferredGridOptions);
|
|
102
|
+
const gridOptions = Object.assign({ getRowId: (params) => params.data[this.rowId], columnDefs: (_b = (_a = this.agGrid) === null || _a === void 0 ? void 0 : _a.gridApi) === null || _b === void 0 ? void 0 : _b.getColumnDefs() }, this.deferredGridOptions);
|
|
101
103
|
this.agGrid.gridOptions = Object.assign({}, gridOptions);
|
|
102
104
|
this.agGrid.addEventListener('onGridReady', () => __awaiter(this, void 0, void 0, function* () {
|
|
103
105
|
yield this.loadResourceData();
|
|
@@ -184,7 +186,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
184
186
|
var _a, _b, _c, _d;
|
|
185
187
|
this.rowData = new Map();
|
|
186
188
|
this.agTransaction = undefined;
|
|
187
|
-
if (withColumnDefs) {
|
|
189
|
+
if (withColumnDefs && !this.keepColDefsOnClearRowData) {
|
|
188
190
|
(_b = (_a = this.agGrid) === null || _a === void 0 ? void 0 : _a.gridApi) === null || _b === void 0 ? void 0 : _b.setColumnDefs([]);
|
|
189
191
|
}
|
|
190
192
|
(_d = (_c = this.agGrid) === null || _c === void 0 ? void 0 : _c.gridApi) === null || _d === void 0 ? void 0 : _d.setRowData([]);
|
|
@@ -436,6 +438,9 @@ __decorate([
|
|
|
436
438
|
__decorate([
|
|
437
439
|
attr({ mode: 'boolean', attribute: 'restart-on-reconnection' })
|
|
438
440
|
], GridProGenesisDatasource.prototype, "restartOnReconnection", void 0);
|
|
441
|
+
__decorate([
|
|
442
|
+
attr({ mode: 'boolean', attribute: 'keep-col-defs-on-clear-row-data' })
|
|
443
|
+
], GridProGenesisDatasource.prototype, "keepColDefsOnClearRowData", void 0);
|
|
439
444
|
GridProGenesisDatasource = __decorate([
|
|
440
445
|
customElement({
|
|
441
446
|
name: 'grid-pro-genesis-datasource',
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -10691,6 +10691,36 @@
|
|
|
10691
10691
|
"isAbstract": false,
|
|
10692
10692
|
"name": "init"
|
|
10693
10693
|
},
|
|
10694
|
+
{
|
|
10695
|
+
"kind": "Property",
|
|
10696
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#keepColDefsOnClearRowData:member",
|
|
10697
|
+
"docComment": "",
|
|
10698
|
+
"excerptTokens": [
|
|
10699
|
+
{
|
|
10700
|
+
"kind": "Content",
|
|
10701
|
+
"text": "keepColDefsOnClearRowData: "
|
|
10702
|
+
},
|
|
10703
|
+
{
|
|
10704
|
+
"kind": "Content",
|
|
10705
|
+
"text": "boolean"
|
|
10706
|
+
},
|
|
10707
|
+
{
|
|
10708
|
+
"kind": "Content",
|
|
10709
|
+
"text": ";"
|
|
10710
|
+
}
|
|
10711
|
+
],
|
|
10712
|
+
"isReadonly": false,
|
|
10713
|
+
"isOptional": false,
|
|
10714
|
+
"releaseTag": "Public",
|
|
10715
|
+
"name": "keepColDefsOnClearRowData",
|
|
10716
|
+
"propertyTypeTokenRange": {
|
|
10717
|
+
"startIndex": 1,
|
|
10718
|
+
"endIndex": 2
|
|
10719
|
+
},
|
|
10720
|
+
"isStatic": false,
|
|
10721
|
+
"isProtected": false,
|
|
10722
|
+
"isAbstract": false
|
|
10723
|
+
},
|
|
10694
10724
|
{
|
|
10695
10725
|
"kind": "Property",
|
|
10696
10726
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#pollingInterval:member",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -1765,6 +1765,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1765
1765
|
request: any;
|
|
1766
1766
|
resourceNameChanged(oldValue: string, newValue: string): void;
|
|
1767
1767
|
restartOnReconnection: boolean;
|
|
1768
|
+
keepColDefsOnClearRowData: boolean;
|
|
1768
1769
|
private dataSub;
|
|
1769
1770
|
private updateSub;
|
|
1770
1771
|
private connectionSub;
|
|
@@ -1894,18 +1895,21 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1894
1895
|
readonly classList: DOMTokenList;
|
|
1895
1896
|
className: string;
|
|
1896
1897
|
readonly clientHeight: number;
|
|
1897
|
-
readonly clientLeft: number;
|
|
1898
|
-
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
1899
|
-
* @public
|
|
1900
|
-
*/
|
|
1898
|
+
readonly clientLeft: number;
|
|
1901
1899
|
readonly clientTop: number;
|
|
1902
1900
|
readonly clientWidth: number;
|
|
1903
1901
|
id: string;
|
|
1904
1902
|
readonly localName: string;
|
|
1905
1903
|
readonly namespaceURI: string;
|
|
1904
|
+
/**
|
|
1905
|
+
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
1906
|
+
* @public
|
|
1907
|
+
*/
|
|
1906
1908
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
1907
1909
|
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
1908
|
-
outerHTML: string;
|
|
1910
|
+
outerHTML: string; /**
|
|
1911
|
+
* Force the grid to redispatch the current rows
|
|
1912
|
+
*/
|
|
1909
1913
|
readonly ownerDocument: Document;
|
|
1910
1914
|
readonly part: DOMTokenList;
|
|
1911
1915
|
readonly prefix: string;
|
|
@@ -1916,12 +1920,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1916
1920
|
readonly shadowRoot: ShadowRoot;
|
|
1917
1921
|
slot: string;
|
|
1918
1922
|
readonly tagName: string;
|
|
1919
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1920
|
-
* Clears the rowData and columnDefs for the grid.
|
|
1921
|
-
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
1922
|
-
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
1923
|
-
* @internal
|
|
1924
|
-
*/
|
|
1923
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1925
1924
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
1926
1925
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
1927
1926
|
closest<E extends Element = Element>(selectors: string): E;
|
|
@@ -1947,12 +1946,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1947
1946
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
1948
1947
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1949
1948
|
matches(selectors: string): boolean;
|
|
1950
|
-
/**
|
|
1951
|
-
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
1952
|
-
* Proxies to {@link @genesislcap/grid-pro#GridProGenesisDatasource.loadResourceData} but without the full init (no metadata fetch).
|
|
1953
|
-
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
1954
|
-
* @internal
|
|
1955
|
-
*/
|
|
1956
1949
|
releasePointerCapture(pointerId: number): void;
|
|
1957
1950
|
removeAttribute(qualifiedName: string): void;
|
|
1958
1951
|
removeAttributeNS(namespace: string, localName: string): void;
|
|
@@ -1966,13 +1959,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1966
1959
|
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
1967
1960
|
scrollTo(options?: ScrollToOptions): void;
|
|
1968
1961
|
scrollTo(x: number, y: number): void;
|
|
1969
|
-
setAttribute(qualifiedName: string, value: string): void;
|
|
1970
|
-
* Initializes the datasource and loads the data for the grid.
|
|
1971
|
-
* Handles both snapshot and stream data (for both REQUEST_SERVER and DATASERVER resource types).
|
|
1972
|
-
*
|
|
1973
|
-
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
1974
|
-
* @internal
|
|
1975
|
-
*/
|
|
1962
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
1976
1963
|
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
1977
1964
|
setAttributeNode(attr: Attr): Attr;
|
|
1978
1965
|
setAttributeNodeNS(attr: Attr): Attr;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) > [keepColDefsOnClearRowData](./grid-pro.gridprogenesisdatasource.keepcoldefsonclearrowdata.md)
|
|
4
|
+
|
|
5
|
+
## GridProGenesisDatasource.keepColDefsOnClearRowData property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
keepColDefsOnClearRowData: boolean;
|
|
11
|
+
```
|
|
@@ -26,6 +26,7 @@ Only supports Client-Side Row Model.
|
|
|
26
26
|
| [auth](./grid-pro.gridprogenesisdatasource.auth.md) | | Auth | |
|
|
27
27
|
| [datasource](./grid-pro.gridprogenesisdatasource.datasource.md) | | Datasource | |
|
|
28
28
|
| [disablePolling](./grid-pro.gridprogenesisdatasource.disablepolling.md) | | boolean | |
|
|
29
|
+
| [keepColDefsOnClearRowData](./grid-pro.gridprogenesisdatasource.keepcoldefsonclearrowdata.md) | | boolean | |
|
|
29
30
|
| [pollingInterval](./grid-pro.gridprogenesisdatasource.pollinginterval.md) | | number | |
|
|
30
31
|
| [request](./grid-pro.gridprogenesisdatasource.request.md) | | any | |
|
|
31
32
|
| [restartOnReconnection](./grid-pro.gridprogenesisdatasource.restartonreconnection.md) | | boolean | |
|
package/docs/api-report.md
CHANGED
|
@@ -972,6 +972,8 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
|
972
972
|
handleErrors(result: any): void;
|
|
973
973
|
init(): Promise<void>;
|
|
974
974
|
// (undocumented)
|
|
975
|
+
keepColDefsOnClearRowData: boolean;
|
|
976
|
+
// (undocumented)
|
|
975
977
|
pollingInterval: number;
|
|
976
978
|
refreshRows(): void;
|
|
977
979
|
// (undocumented)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-pro",
|
|
3
3
|
"description": "Genesis Foundation AG Grid",
|
|
4
|
-
"version": "14.158.
|
|
4
|
+
"version": "14.158.1-beta.c41ab3f.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
"test:debug": "genx test --debug"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@genesislcap/foundation-testing": "14.158.
|
|
34
|
-
"@genesislcap/genx": "14.158.
|
|
35
|
-
"@genesislcap/rollup-builder": "14.158.
|
|
36
|
-
"@genesislcap/ts-builder": "14.158.
|
|
37
|
-
"@genesislcap/uvu-playwright-builder": "14.158.
|
|
38
|
-
"@genesislcap/vite-builder": "14.158.
|
|
39
|
-
"@genesislcap/webpack-builder": "14.158.
|
|
33
|
+
"@genesislcap/foundation-testing": "14.158.1-beta.c41ab3f.1",
|
|
34
|
+
"@genesislcap/genx": "14.158.1-beta.c41ab3f.1",
|
|
35
|
+
"@genesislcap/rollup-builder": "14.158.1-beta.c41ab3f.1",
|
|
36
|
+
"@genesislcap/ts-builder": "14.158.1-beta.c41ab3f.1",
|
|
37
|
+
"@genesislcap/uvu-playwright-builder": "14.158.1-beta.c41ab3f.1",
|
|
38
|
+
"@genesislcap/vite-builder": "14.158.1-beta.c41ab3f.1",
|
|
39
|
+
"@genesislcap/webpack-builder": "14.158.1-beta.c41ab3f.1",
|
|
40
40
|
"rimraf": "^3.0.2"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@genesislcap/foundation-comms": "14.158.
|
|
44
|
-
"@genesislcap/foundation-logger": "14.158.
|
|
45
|
-
"@genesislcap/foundation-ui": "14.158.
|
|
46
|
-
"@genesislcap/foundation-utils": "14.158.
|
|
43
|
+
"@genesislcap/foundation-comms": "14.158.1-beta.c41ab3f.1",
|
|
44
|
+
"@genesislcap/foundation-logger": "14.158.1-beta.c41ab3f.1",
|
|
45
|
+
"@genesislcap/foundation-ui": "14.158.1-beta.c41ab3f.1",
|
|
46
|
+
"@genesislcap/foundation-utils": "14.158.1-beta.c41ab3f.1",
|
|
47
47
|
"@microsoft/fast-colors": "^5.3.1",
|
|
48
48
|
"@microsoft/fast-components": "^2.30.6",
|
|
49
49
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
71
|
"customElements": "dist/custom-elements.json",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "3763e646a3d58d4b9659db1445bfd1714f98e005"
|
|
73
73
|
}
|