@genesislcap/grid-pro 14.158.0 → 14.158.1-beta.9f2f9a2.0
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 +18 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +17 -23
- 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 +4 -3
- package/dist/grid-pro.api.json +26 -4
- package/dist/grid-pro.d.ts +16 -22
- package/docs/api/grid-pro.gridprogenesisdatasource.init.md +8 -1
- package/docs/api/grid-pro.gridprogenesisdatasource.md +1 -1
- package/docs/api-report.md +1 -1
- package/package.json +13 -13
|
@@ -6858,6 +6858,15 @@
|
|
|
6858
6858
|
{
|
|
6859
6859
|
"kind": "method",
|
|
6860
6860
|
"name": "init",
|
|
6861
|
+
"parameters": [
|
|
6862
|
+
{
|
|
6863
|
+
"name": "columnDefinitions",
|
|
6864
|
+
"optional": true,
|
|
6865
|
+
"type": {
|
|
6866
|
+
"text": "ColDef[]"
|
|
6867
|
+
}
|
|
6868
|
+
}
|
|
6869
|
+
],
|
|
6861
6870
|
"description": "Initializes the datasource.",
|
|
6862
6871
|
"privacy": "public",
|
|
6863
6872
|
"inheritedFrom": {
|
|
@@ -9656,6 +9665,15 @@
|
|
|
9656
9665
|
{
|
|
9657
9666
|
"kind": "method",
|
|
9658
9667
|
"name": "init",
|
|
9668
|
+
"parameters": [
|
|
9669
|
+
{
|
|
9670
|
+
"name": "columnDefinitions",
|
|
9671
|
+
"optional": true,
|
|
9672
|
+
"type": {
|
|
9673
|
+
"text": "ColDef[]"
|
|
9674
|
+
}
|
|
9675
|
+
}
|
|
9676
|
+
],
|
|
9659
9677
|
"description": "Initializes the datasource.",
|
|
9660
9678
|
"privacy": "public"
|
|
9661
9679
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RowDataTransaction, RowNodeTransaction } from '@ag-grid-community/core';
|
|
1
|
+
import type { ColDef, RowDataTransaction, RowNodeTransaction } from '@ag-grid-community/core';
|
|
2
2
|
import { Auth, Datasource } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { GridProBaseDatasource } from '../datasource/base.datasource';
|
|
4
4
|
declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
@@ -46,13 +46,14 @@ 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;
|
|
53
|
+
/**
|
|
54
|
+
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
56
57
|
readonly localName: string;
|
|
57
58
|
readonly namespaceURI: string;
|
|
58
59
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
@@ -61,19 +62,18 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
61
62
|
readonly ownerDocument: Document;
|
|
62
63
|
readonly part: DOMTokenList;
|
|
63
64
|
readonly prefix: string;
|
|
64
|
-
readonly scrollHeight: number;
|
|
65
|
+
readonly scrollHeight: number; /**
|
|
66
|
+
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
67
|
+
* @remarks Will only happen for streaming DATASERER resources.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
65
70
|
scrollLeft: number;
|
|
66
71
|
scrollTop: number;
|
|
67
72
|
readonly scrollWidth: number;
|
|
68
73
|
readonly shadowRoot: ShadowRoot;
|
|
69
74
|
slot: string;
|
|
70
75
|
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
|
-
*/
|
|
76
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
77
77
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
78
78
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
79
79
|
closest<E extends Element = Element>(selectors: string): E;
|
|
@@ -99,15 +99,15 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
99
99
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
100
100
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
101
101
|
matches(selectors: string): boolean;
|
|
102
|
+
releasePointerCapture(pointerId: number): void;
|
|
103
|
+
removeAttribute(qualifiedName: string): void;
|
|
104
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
102
105
|
/**
|
|
103
106
|
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
104
107
|
* Proxies to {@link @genesislcap/grid-pro#GridProGenesisDatasource.loadResourceData} but without the full init (no metadata fetch).
|
|
105
108
|
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
106
109
|
* @internal
|
|
107
110
|
*/
|
|
108
|
-
releasePointerCapture(pointerId: number): void;
|
|
109
|
-
removeAttribute(qualifiedName: string): void;
|
|
110
|
-
removeAttributeNS(namespace: string, localName: string): void;
|
|
111
111
|
removeAttributeNode(attr: Attr): Attr;
|
|
112
112
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
113
113
|
requestPointerLock(): void;
|
|
@@ -118,13 +118,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
118
118
|
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
119
119
|
scrollTo(options?: ScrollToOptions): void;
|
|
120
120
|
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
|
-
*/
|
|
121
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
128
122
|
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
129
123
|
setAttributeNode(attr: Attr): Attr;
|
|
130
124
|
setAttributeNodeNS(attr: Attr): Attr;
|
|
@@ -377,7 +371,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
377
371
|
* @public
|
|
378
372
|
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
379
373
|
*/
|
|
380
|
-
init(): Promise<void>;
|
|
374
|
+
init(columnDefinitions?: ColDef[]): Promise<void>;
|
|
381
375
|
/**
|
|
382
376
|
* Deinitialises the datasource, resetting it to its initial state.
|
|
383
377
|
* @public
|
|
@@ -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,
|
|
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,EAAE,MAAM,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6MpE;;;OAGG;;;;;;;;;mCAcH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhSL;;;;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;IAE/F,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,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE;IAsDvC;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA8BL;;;OAGG;IACH,OAAO;IAMP;;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"}
|
|
@@ -83,7 +83,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
83
83
|
* @public
|
|
84
84
|
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
85
85
|
*/
|
|
86
|
-
init() {
|
|
86
|
+
init(columnDefinitions) {
|
|
87
87
|
return __awaiter(this, void 0, void 0, function* () {
|
|
88
88
|
if (this.agGrid &&
|
|
89
89
|
this.datasource.validResourceName(this.resourceName) &&
|
|
@@ -97,7 +97,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
99
|
this.isRequestServer = meta.TYPE === ResourceType.REQUEST_SERVER;
|
|
100
|
-
const gridOptions = Object.assign({ getRowId: (params) => params.data[this.rowId] }, this.deferredGridOptions);
|
|
100
|
+
const gridOptions = Object.assign(Object.assign({ getRowId: (params) => params.data[this.rowId] }, (columnDefinitions && { columnDefs: columnDefinitions })), this.deferredGridOptions);
|
|
101
101
|
this.agGrid.gridOptions = Object.assign({}, gridOptions);
|
|
102
102
|
this.agGrid.addEventListener('onGridReady', () => __awaiter(this, void 0, void 0, function* () {
|
|
103
103
|
yield this.loadResourceData();
|
|
@@ -153,8 +153,9 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
153
153
|
* @public
|
|
154
154
|
*/
|
|
155
155
|
restart() {
|
|
156
|
+
const columnDefinitions = this.agGrid.gridApi.getColumnDefs();
|
|
156
157
|
this.deinit();
|
|
157
|
-
this.init();
|
|
158
|
+
this.init(columnDefinitions);
|
|
158
159
|
}
|
|
159
160
|
/**
|
|
160
161
|
* Force the grid to redispatch the current rows
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -10662,7 +10662,20 @@
|
|
|
10662
10662
|
"excerptTokens": [
|
|
10663
10663
|
{
|
|
10664
10664
|
"kind": "Content",
|
|
10665
|
-
"text": "init(
|
|
10665
|
+
"text": "init(columnDefinitions?: "
|
|
10666
|
+
},
|
|
10667
|
+
{
|
|
10668
|
+
"kind": "Reference",
|
|
10669
|
+
"text": "ColDef",
|
|
10670
|
+
"canonicalReference": "@ag-grid-community/core!ColDef:interface"
|
|
10671
|
+
},
|
|
10672
|
+
{
|
|
10673
|
+
"kind": "Content",
|
|
10674
|
+
"text": "[]"
|
|
10675
|
+
},
|
|
10676
|
+
{
|
|
10677
|
+
"kind": "Content",
|
|
10678
|
+
"text": "): "
|
|
10666
10679
|
},
|
|
10667
10680
|
{
|
|
10668
10681
|
"kind": "Reference",
|
|
@@ -10680,13 +10693,22 @@
|
|
|
10680
10693
|
],
|
|
10681
10694
|
"isStatic": false,
|
|
10682
10695
|
"returnTypeTokenRange": {
|
|
10683
|
-
"startIndex":
|
|
10684
|
-
"endIndex":
|
|
10696
|
+
"startIndex": 4,
|
|
10697
|
+
"endIndex": 6
|
|
10685
10698
|
},
|
|
10686
10699
|
"releaseTag": "Public",
|
|
10687
10700
|
"isProtected": false,
|
|
10688
10701
|
"overloadIndex": 1,
|
|
10689
|
-
"parameters": [
|
|
10702
|
+
"parameters": [
|
|
10703
|
+
{
|
|
10704
|
+
"parameterName": "columnDefinitions",
|
|
10705
|
+
"parameterTypeTokenRange": {
|
|
10706
|
+
"startIndex": 1,
|
|
10707
|
+
"endIndex": 3
|
|
10708
|
+
},
|
|
10709
|
+
"isOptional": true
|
|
10710
|
+
}
|
|
10711
|
+
],
|
|
10690
10712
|
"isOptional": false,
|
|
10691
10713
|
"isAbstract": false,
|
|
10692
10714
|
"name": "init"
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -1780,7 +1780,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1780
1780
|
* @public
|
|
1781
1781
|
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
1782
1782
|
*/
|
|
1783
|
-
init(): Promise<void>;
|
|
1783
|
+
init(columnDefinitions?: ColDef[]): Promise<void>;
|
|
1784
1784
|
/**
|
|
1785
1785
|
* Deinitialises the datasource, resetting it to its initial state.
|
|
1786
1786
|
* @public
|
|
@@ -1894,13 +1894,14 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1894
1894
|
readonly classList: DOMTokenList;
|
|
1895
1895
|
className: string;
|
|
1896
1896
|
readonly clientHeight: number;
|
|
1897
|
-
readonly clientLeft: number;
|
|
1898
|
-
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
1899
|
-
* @public
|
|
1900
|
-
*/
|
|
1897
|
+
readonly clientLeft: number;
|
|
1901
1898
|
readonly clientTop: number;
|
|
1902
1899
|
readonly clientWidth: number;
|
|
1903
1900
|
id: string;
|
|
1901
|
+
/**
|
|
1902
|
+
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
1903
|
+
* @public
|
|
1904
|
+
*/
|
|
1904
1905
|
readonly localName: string;
|
|
1905
1906
|
readonly namespaceURI: string;
|
|
1906
1907
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
@@ -1909,19 +1910,18 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1909
1910
|
readonly ownerDocument: Document;
|
|
1910
1911
|
readonly part: DOMTokenList;
|
|
1911
1912
|
readonly prefix: string;
|
|
1912
|
-
readonly scrollHeight: number;
|
|
1913
|
+
readonly scrollHeight: number; /**
|
|
1914
|
+
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
1915
|
+
* @remarks Will only happen for streaming DATASERER resources.
|
|
1916
|
+
* @internal
|
|
1917
|
+
*/
|
|
1913
1918
|
scrollLeft: number;
|
|
1914
1919
|
scrollTop: number;
|
|
1915
1920
|
readonly scrollWidth: number;
|
|
1916
1921
|
readonly shadowRoot: ShadowRoot;
|
|
1917
1922
|
slot: string;
|
|
1918
1923
|
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
|
-
*/
|
|
1924
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1925
1925
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
1926
1926
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
1927
1927
|
closest<E extends Element = Element>(selectors: string): E;
|
|
@@ -1947,15 +1947,15 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1947
1947
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
1948
1948
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1949
1949
|
matches(selectors: string): boolean;
|
|
1950
|
+
releasePointerCapture(pointerId: number): void;
|
|
1951
|
+
removeAttribute(qualifiedName: string): void;
|
|
1952
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
1950
1953
|
/**
|
|
1951
1954
|
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
1952
1955
|
* Proxies to {@link @genesislcap/grid-pro#GridProGenesisDatasource.loadResourceData} but without the full init (no metadata fetch).
|
|
1953
1956
|
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
1954
1957
|
* @internal
|
|
1955
1958
|
*/
|
|
1956
|
-
releasePointerCapture(pointerId: number): void;
|
|
1957
|
-
removeAttribute(qualifiedName: string): void;
|
|
1958
|
-
removeAttributeNS(namespace: string, localName: string): void;
|
|
1959
1959
|
removeAttributeNode(attr: Attr): Attr;
|
|
1960
1960
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
1961
1961
|
requestPointerLock(): void;
|
|
@@ -1966,13 +1966,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1966
1966
|
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
1967
1967
|
scrollTo(options?: ScrollToOptions): void;
|
|
1968
1968
|
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
|
-
*/
|
|
1969
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
1976
1970
|
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
1977
1971
|
setAttributeNode(attr: Attr): Attr;
|
|
1978
1972
|
setAttributeNodeNS(attr: Attr): Attr;
|
|
@@ -9,8 +9,15 @@ Initializes the datasource.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
init(): Promise<void>;
|
|
12
|
+
init(columnDefinitions?: ColDef[]): Promise<void>;
|
|
13
13
|
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| columnDefinitions | ColDef\[\] | _(Optional)_ |
|
|
20
|
+
|
|
14
21
|
**Returns:**
|
|
15
22
|
|
|
16
23
|
Promise<void>
|
|
@@ -42,7 +42,7 @@ Only supports Client-Side Row Model.
|
|
|
42
42
|
| [deinit()](./grid-pro.gridprogenesisdatasource.deinit.md) | | Deinitialises the datasource, resetting it to its initial state. |
|
|
43
43
|
| [disconnectedCallback()](./grid-pro.gridprogenesisdatasource.disconnectedcallback.md) | | |
|
|
44
44
|
| [handleErrors(result)](./grid-pro.gridprogenesisdatasource.handleerrors.md) | | |
|
|
45
|
-
| [init()](./grid-pro.gridprogenesisdatasource.init.md) | | Initializes the datasource. |
|
|
45
|
+
| [init(columnDefinitions)](./grid-pro.gridprogenesisdatasource.init.md) | | Initializes the datasource. |
|
|
46
46
|
| [refreshRows()](./grid-pro.gridprogenesisdatasource.refreshrows.md) | | Force the grid to redispatch the current rows |
|
|
47
47
|
| [removeFilter(fieldName)](./grid-pro.gridprogenesisdatasource.removefilter.md) | | |
|
|
48
48
|
| [reset()](./grid-pro.gridprogenesisdatasource.reset.md) | | Resets the datasource to its initial state. |
|
package/docs/api-report.md
CHANGED
|
@@ -970,7 +970,7 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
|
970
970
|
disconnectedCallback(): void;
|
|
971
971
|
// (undocumented)
|
|
972
972
|
handleErrors(result: any): void;
|
|
973
|
-
init(): Promise<void>;
|
|
973
|
+
init(columnDefinitions?: ColDef[]): Promise<void>;
|
|
974
974
|
// (undocumented)
|
|
975
975
|
pollingInterval: number;
|
|
976
976
|
refreshRows(): void;
|
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.0",
|
|
4
|
+
"version": "14.158.1-beta.9f2f9a2.0",
|
|
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.0",
|
|
34
|
-
"@genesislcap/genx": "14.158.0",
|
|
35
|
-
"@genesislcap/rollup-builder": "14.158.0",
|
|
36
|
-
"@genesislcap/ts-builder": "14.158.0",
|
|
37
|
-
"@genesislcap/uvu-playwright-builder": "14.158.0",
|
|
38
|
-
"@genesislcap/vite-builder": "14.158.0",
|
|
39
|
-
"@genesislcap/webpack-builder": "14.158.0",
|
|
33
|
+
"@genesislcap/foundation-testing": "14.158.1-beta.9f2f9a2.0",
|
|
34
|
+
"@genesislcap/genx": "14.158.1-beta.9f2f9a2.0",
|
|
35
|
+
"@genesislcap/rollup-builder": "14.158.1-beta.9f2f9a2.0",
|
|
36
|
+
"@genesislcap/ts-builder": "14.158.1-beta.9f2f9a2.0",
|
|
37
|
+
"@genesislcap/uvu-playwright-builder": "14.158.1-beta.9f2f9a2.0",
|
|
38
|
+
"@genesislcap/vite-builder": "14.158.1-beta.9f2f9a2.0",
|
|
39
|
+
"@genesislcap/webpack-builder": "14.158.1-beta.9f2f9a2.0",
|
|
40
40
|
"rimraf": "^3.0.2"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@genesislcap/foundation-comms": "14.158.0",
|
|
44
|
-
"@genesislcap/foundation-logger": "14.158.0",
|
|
45
|
-
"@genesislcap/foundation-ui": "14.158.0",
|
|
46
|
-
"@genesislcap/foundation-utils": "14.158.0",
|
|
43
|
+
"@genesislcap/foundation-comms": "14.158.1-beta.9f2f9a2.0",
|
|
44
|
+
"@genesislcap/foundation-logger": "14.158.1-beta.9f2f9a2.0",
|
|
45
|
+
"@genesislcap/foundation-ui": "14.158.1-beta.9f2f9a2.0",
|
|
46
|
+
"@genesislcap/foundation-utils": "14.158.1-beta.9f2f9a2.0",
|
|
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": "56d1ee4853ea8afe5bd53a952e520816e75414c8"
|
|
73
73
|
}
|