@genesislcap/grid-pro 14.393.3 → 14.393.4
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 +21 -5
- package/dist/dts/datasource/base.types.d.ts +1 -1
- package/dist/dts/datasource/index.d.ts +3 -2
- package/dist/dts/datasource/index.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/index.d.ts +2 -1
- package/dist/dts/grid-pro-genesis-datasource/index.d.ts.map +1 -1
- package/dist/esm/datasource/index.js +3 -2
- package/dist/esm/grid-pro-genesis-datasource/index.js +2 -1
- package/dist/grid-pro.api.json +1079 -76
- package/dist/grid-pro.d.ts +175 -1
- package/docs/api/grid-pro.basedatasourceerrorevent.md +15 -0
- package/docs/api/grid-pro.basedatasourceerroreventdetail.md +16 -0
- package/docs/api/grid-pro.basedatasourceeventnames.md +16 -0
- package/docs/api/grid-pro.datachangedeventdetail.changes.md +16 -0
- package/docs/api/grid-pro.datachangedeventdetail.md +56 -0
- package/docs/api/grid-pro.dataclearedeventdetail.includeschema.md +11 -0
- package/docs/api/grid-pro.dataclearedeventdetail.md +58 -0
- package/docs/api/grid-pro.dataloadedeventdetail.data.md +11 -0
- package/docs/api/grid-pro.dataloadedeventdetail.isinitialload.md +11 -0
- package/docs/api/grid-pro.dataloadedeventdetail.md +75 -0
- package/docs/api/grid-pro.datasourceerroreventdetail.md +73 -0
- package/docs/api/grid-pro.datasourceerroreventdetail.message.md +11 -0
- package/docs/api/grid-pro.datasourceerroreventdetail.type.md +11 -0
- package/docs/api/grid-pro.datasourceevent.md +57 -0
- package/docs/api/grid-pro.datasourceevent.type.md +11 -0
- package/docs/api/grid-pro.datasourceeventdetail.md +15 -0
- package/docs/api/grid-pro.datasourceeventnames.md +34 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.handleerrors.md +1 -1
- package/docs/api/grid-pro.initializeeventdetail.keepcoldefsonclearrowdata.md +11 -0
- package/docs/api/grid-pro.initializeeventdetail.md +73 -0
- package/docs/api/grid-pro.initializeeventdetail.options.md +15 -0
- package/docs/api/grid-pro.md +165 -0
- package/docs/api/grid-pro.moredataavailableeventdetail.hasmoredata.md +11 -0
- package/docs/api/grid-pro.moredataavailableeventdetail.md +73 -0
- package/docs/api/grid-pro.moredataavailableeventdetail.sourceref.md +11 -0
- package/docs/api/grid-pro.schemaupdatedeventdetail.md +75 -0
- package/docs/api/grid-pro.schemaupdatedeventdetail.metadata.md +11 -0
- package/docs/api/grid-pro.schemaupdatedeventdetail.schema.md +11 -0
- package/docs/api/grid-pro.serversidedatasourceoptions.md +45 -0
- package/docs/api/grid-pro.sizechangedeventdetail.md +73 -0
- package/docs/api/grid-pro.sizechangedeventdetail.oldvalue.md +11 -0
- package/docs/api/grid-pro.sizechangedeventdetail.value.md +11 -0
- package/docs/api-report.md.api.md +149 -1
- package/package.json +13 -13
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [DatasourceEvent](./grid-pro.datasourceevent.md)
|
|
4
|
+
|
|
5
|
+
## DatasourceEvent interface
|
|
6
|
+
|
|
7
|
+
Generic datasource event interface
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface DatasourceEvent<T = DatasourceEventDetail> extends CustomEvent<T>
|
|
13
|
+
```
|
|
14
|
+
**Extends:** CustomEvent<T>
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
<table><thead><tr><th>
|
|
19
|
+
|
|
20
|
+
Property
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
</th><th>
|
|
24
|
+
|
|
25
|
+
Modifiers
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
</th><th>
|
|
29
|
+
|
|
30
|
+
Type
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
</th><th>
|
|
34
|
+
|
|
35
|
+
Description
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</th></tr></thead>
|
|
39
|
+
<tbody><tr><td>
|
|
40
|
+
|
|
41
|
+
[type](./grid-pro.datasourceevent.type.md)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</td><td>
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
</td><td>
|
|
48
|
+
|
|
49
|
+
keyof typeof [datasourceEventNames](./grid-pro.datasourceeventnames.md)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td><td>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
</td></tr>
|
|
56
|
+
</tbody></table>
|
|
57
|
+
|
|
@@ -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) > [DatasourceEvent](./grid-pro.datasourceevent.md) > [type](./grid-pro.datasourceevent.type.md)
|
|
4
|
+
|
|
5
|
+
## DatasourceEvent.type property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
type: keyof typeof datasourceEventNames;
|
|
11
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [DatasourceEventDetail](./grid-pro.datasourceeventdetail.md)
|
|
4
|
+
|
|
5
|
+
## DatasourceEventDetail type
|
|
6
|
+
|
|
7
|
+
Union type for all datasource event details
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export type DatasourceEventDetail = InitializeEventDetail | DataLoadedEventDetail | DataChangedEventDetail | SchemaUpdatedEventDetail | MoreDataAvailableEventDetail | SizeChangedEventDetail | DataClearedEventDetail | DatasourceErrorEventDetail;
|
|
13
|
+
```
|
|
14
|
+
**References:** [InitializeEventDetail](./grid-pro.initializeeventdetail.md)<!-- -->, [DataLoadedEventDetail](./grid-pro.dataloadedeventdetail.md)<!-- -->, [DataChangedEventDetail](./grid-pro.datachangedeventdetail.md)<!-- -->, [SchemaUpdatedEventDetail](./grid-pro.schemaupdatedeventdetail.md)<!-- -->, [MoreDataAvailableEventDetail](./grid-pro.moredataavailableeventdetail.md)<!-- -->, [SizeChangedEventDetail](./grid-pro.sizechangedeventdetail.md)<!-- -->, [DataClearedEventDetail](./grid-pro.dataclearedeventdetail.md)<!-- -->, [DatasourceErrorEventDetail](./grid-pro.datasourceerroreventdetail.md)
|
|
15
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [datasourceEventNames](./grid-pro.datasourceeventnames.md)
|
|
4
|
+
|
|
5
|
+
## datasourceEventNames variable
|
|
6
|
+
|
|
7
|
+
Event names for datasource-grid communication These represent datasource operations, not grid-specific actions
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
datasourceEventNames: {
|
|
13
|
+
readonly initialize: "datasource-initialize";
|
|
14
|
+
readonly ready: "datasource-ready";
|
|
15
|
+
readonly dataLoaded: "datasource-data-loaded";
|
|
16
|
+
readonly dataChanged: "datasource-data-changed";
|
|
17
|
+
readonly dataCleared: "datasource-data-cleared";
|
|
18
|
+
readonly schemaUpdated: "datasource-schema-updated";
|
|
19
|
+
readonly loadingStarted: "datasource-loading-started";
|
|
20
|
+
readonly loadingFinished: "datasource-loading-finished";
|
|
21
|
+
readonly noDataAvailable: "datasource-no-data-available";
|
|
22
|
+
readonly moreDataAvailable: "datasource-more-data-available";
|
|
23
|
+
readonly filtersRestored: "datasource-filters-restored";
|
|
24
|
+
readonly error: "datasource-error";
|
|
25
|
+
readonly destroy: "datasource-destroy";
|
|
26
|
+
readonly sizeChanged: "datasource-size-changed";
|
|
27
|
+
readonly cacheFilterConfig: "cache-filter-config";
|
|
28
|
+
readonly refreshServerSide: "refresh-server-side";
|
|
29
|
+
readonly setServerSideDatasource: "set-server-side-datasource";
|
|
30
|
+
readonly addGridCssClass: "add-grid-css-class";
|
|
31
|
+
readonly removeGridCssClass: "remove-grid-css-class";
|
|
32
|
+
readonly applyServerSideTransaction: "apply-server-side-transaction";
|
|
33
|
+
}
|
|
34
|
+
```
|
|
@@ -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) > [InitializeEventDetail](./grid-pro.initializeeventdetail.md) > [keepColDefsOnClearRowData](./grid-pro.initializeeventdetail.keepcoldefsonclearrowdata.md)
|
|
4
|
+
|
|
5
|
+
## InitializeEventDetail.keepColDefsOnClearRowData property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
keepColDefsOnClearRowData: boolean;
|
|
11
|
+
```
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [InitializeEventDetail](./grid-pro.initializeeventdetail.md)
|
|
4
|
+
|
|
5
|
+
## InitializeEventDetail interface
|
|
6
|
+
|
|
7
|
+
Event detail for datasource initialization
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface InitializeEventDetail
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Property
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Modifiers
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Type
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th><th>
|
|
33
|
+
|
|
34
|
+
Description
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</th></tr></thead>
|
|
38
|
+
<tbody><tr><td>
|
|
39
|
+
|
|
40
|
+
[keepColDefsOnClearRowData](./grid-pro.initializeeventdetail.keepcoldefsonclearrowdata.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
boolean
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</td></tr>
|
|
55
|
+
<tr><td>
|
|
56
|
+
|
|
57
|
+
[options](./grid-pro.initializeeventdetail.options.md)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</td><td>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</td><td>
|
|
64
|
+
|
|
65
|
+
{ getRowId?: (params: any) => string; columnDefs?: ColDef\[\]; \[key: string\]: any; }
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
</td><td>
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
</td></tr>
|
|
72
|
+
</tbody></table>
|
|
73
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [InitializeEventDetail](./grid-pro.initializeeventdetail.md) > [options](./grid-pro.initializeeventdetail.options.md)
|
|
4
|
+
|
|
5
|
+
## InitializeEventDetail.options property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
options: {
|
|
11
|
+
getRowId?: (params: any) => string;
|
|
12
|
+
columnDefs?: ColDef[];
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
```
|
package/docs/api/grid-pro.md
CHANGED
|
@@ -904,6 +904,61 @@ Description
|
|
|
904
904
|
</th></tr></thead>
|
|
905
905
|
<tbody><tr><td>
|
|
906
906
|
|
|
907
|
+
[DataChangedEventDetail](./grid-pro.datachangedeventdetail.md)
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
</td><td>
|
|
911
|
+
|
|
912
|
+
Event detail for data changes
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
</td></tr>
|
|
916
|
+
<tr><td>
|
|
917
|
+
|
|
918
|
+
[DataClearedEventDetail](./grid-pro.dataclearedeventdetail.md)
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
</td><td>
|
|
922
|
+
|
|
923
|
+
Event detail for data clearing
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
</td></tr>
|
|
927
|
+
<tr><td>
|
|
928
|
+
|
|
929
|
+
[DataLoadedEventDetail](./grid-pro.dataloadedeventdetail.md)
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
</td><td>
|
|
933
|
+
|
|
934
|
+
Event detail for data loading
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
</td></tr>
|
|
938
|
+
<tr><td>
|
|
939
|
+
|
|
940
|
+
[DatasourceErrorEventDetail](./grid-pro.datasourceerroreventdetail.md)
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
</td><td>
|
|
944
|
+
|
|
945
|
+
Event detail for error events
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
</td></tr>
|
|
949
|
+
<tr><td>
|
|
950
|
+
|
|
951
|
+
[DatasourceEvent](./grid-pro.datasourceevent.md)
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
</td><td>
|
|
955
|
+
|
|
956
|
+
Generic datasource event interface
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
</td></tr>
|
|
960
|
+
<tr><td>
|
|
961
|
+
|
|
907
962
|
[DateEditorParams](./grid-pro.dateeditorparams.md)
|
|
908
963
|
|
|
909
964
|
|
|
@@ -978,6 +1033,28 @@ Configuration options for load more status bar component
|
|
|
978
1033
|
Configuration options for reload status bar component
|
|
979
1034
|
|
|
980
1035
|
|
|
1036
|
+
</td></tr>
|
|
1037
|
+
<tr><td>
|
|
1038
|
+
|
|
1039
|
+
[InitializeEventDetail](./grid-pro.initializeeventdetail.md)
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
</td><td>
|
|
1043
|
+
|
|
1044
|
+
Event detail for datasource initialization
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
</td></tr>
|
|
1048
|
+
<tr><td>
|
|
1049
|
+
|
|
1050
|
+
[MoreDataAvailableEventDetail](./grid-pro.moredataavailableeventdetail.md)
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
</td><td>
|
|
1054
|
+
|
|
1055
|
+
Event detail for more data availability
|
|
1056
|
+
|
|
1057
|
+
|
|
981
1058
|
</td></tr>
|
|
982
1059
|
<tr><td>
|
|
983
1060
|
|
|
@@ -1000,6 +1077,17 @@ Parameters used to configure [MultiselectEditor](./grid-pro.multiselecteditor.md
|
|
|
1000
1077
|
Parameters used to configure [NumberEditor](./grid-pro.numbereditor.md)
|
|
1001
1078
|
|
|
1002
1079
|
|
|
1080
|
+
</td></tr>
|
|
1081
|
+
<tr><td>
|
|
1082
|
+
|
|
1083
|
+
[SchemaUpdatedEventDetail](./grid-pro.schemaupdatedeventdetail.md)
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
</td><td>
|
|
1087
|
+
|
|
1088
|
+
Event detail for schema updates
|
|
1089
|
+
|
|
1090
|
+
|
|
1003
1091
|
</td></tr>
|
|
1004
1092
|
<tr><td>
|
|
1005
1093
|
|
|
@@ -1033,6 +1121,17 @@ Parameters used to configure [SelectEditor](./grid-pro.selecteditor.md)
|
|
|
1033
1121
|
The interface for each select renderer option
|
|
1034
1122
|
|
|
1035
1123
|
|
|
1124
|
+
</td></tr>
|
|
1125
|
+
<tr><td>
|
|
1126
|
+
|
|
1127
|
+
[SizeChangedEventDetail](./grid-pro.sizechangedeventdetail.md)
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
</td><td>
|
|
1131
|
+
|
|
1132
|
+
Event detail for size changes
|
|
1133
|
+
|
|
1134
|
+
|
|
1036
1135
|
</td></tr>
|
|
1037
1136
|
<tr><td>
|
|
1038
1137
|
|
|
@@ -1301,6 +1400,17 @@ Font Face map with all the font faces for each theme.
|
|
|
1301
1400
|
AG Material Theme (no fonts) CSS.
|
|
1302
1401
|
|
|
1303
1402
|
|
|
1403
|
+
</td></tr>
|
|
1404
|
+
<tr><td>
|
|
1405
|
+
|
|
1406
|
+
[baseDatasourceEventNames](./grid-pro.basedatasourceeventnames.md)
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
</td><td>
|
|
1410
|
+
|
|
1411
|
+
Base datasource error event names.
|
|
1412
|
+
|
|
1413
|
+
|
|
1304
1414
|
</td></tr>
|
|
1305
1415
|
<tr><td>
|
|
1306
1416
|
|
|
@@ -1356,6 +1466,17 @@ The join for the criteria string.
|
|
|
1356
1466
|
Allows secure export of CSV https://owasp.org/www-community/attacks/CSV\_Injection
|
|
1357
1467
|
|
|
1358
1468
|
|
|
1469
|
+
</td></tr>
|
|
1470
|
+
<tr><td>
|
|
1471
|
+
|
|
1472
|
+
[datasourceEventNames](./grid-pro.datasourceeventnames.md)
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
</td><td>
|
|
1476
|
+
|
|
1477
|
+
Event names for datasource-grid communication These represent datasource operations, not grid-specific actions
|
|
1478
|
+
|
|
1479
|
+
|
|
1359
1480
|
</td></tr>
|
|
1360
1481
|
<tr><td>
|
|
1361
1482
|
|
|
@@ -1585,6 +1706,28 @@ Parameters for the [GridPro](./grid-pro.gridpro.md) action renderer.
|
|
|
1585
1706
|
Type for mapping of a [AgGridTheme](./grid-pro.aggridtheme.md) to a font face.
|
|
1586
1707
|
|
|
1587
1708
|
|
|
1709
|
+
</td></tr>
|
|
1710
|
+
<tr><td>
|
|
1711
|
+
|
|
1712
|
+
[BaseDatasourceErrorEvent](./grid-pro.basedatasourceerrorevent.md)
|
|
1713
|
+
|
|
1714
|
+
|
|
1715
|
+
</td><td>
|
|
1716
|
+
|
|
1717
|
+
Base datasource error event.
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
</td></tr>
|
|
1721
|
+
<tr><td>
|
|
1722
|
+
|
|
1723
|
+
[BaseDatasourceErrorEventDetail](./grid-pro.basedatasourceerroreventdetail.md)
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
</td><td>
|
|
1727
|
+
|
|
1728
|
+
Base datasource error event detail.
|
|
1729
|
+
|
|
1730
|
+
|
|
1588
1731
|
</td></tr>
|
|
1589
1732
|
<tr><td>
|
|
1590
1733
|
|
|
@@ -1596,6 +1739,17 @@ Type for mapping of a [AgGridTheme](./grid-pro.aggridtheme.md) to a font face.
|
|
|
1596
1739
|
Parameters for the [GridPro](./grid-pro.gridpro.md) boolean renderer.
|
|
1597
1740
|
|
|
1598
1741
|
|
|
1742
|
+
</td></tr>
|
|
1743
|
+
<tr><td>
|
|
1744
|
+
|
|
1745
|
+
[DatasourceEventDetail](./grid-pro.datasourceeventdetail.md)
|
|
1746
|
+
|
|
1747
|
+
|
|
1748
|
+
</td><td>
|
|
1749
|
+
|
|
1750
|
+
Union type for all datasource event details
|
|
1751
|
+
|
|
1752
|
+
|
|
1599
1753
|
</td></tr>
|
|
1600
1754
|
<tr><td>
|
|
1601
1755
|
|
|
@@ -1750,6 +1904,17 @@ Available paging modes for server-side datasources
|
|
|
1750
1904
|
The parameters for the reload status bar component.
|
|
1751
1905
|
|
|
1752
1906
|
|
|
1907
|
+
</td></tr>
|
|
1908
|
+
<tr><td>
|
|
1909
|
+
|
|
1910
|
+
[ServerSideDatasourceOptions](./grid-pro.serversidedatasourceoptions.md)
|
|
1911
|
+
|
|
1912
|
+
|
|
1913
|
+
</td><td>
|
|
1914
|
+
|
|
1915
|
+
**_(ALPHA)_** Type definition for configuration options used for streams.
|
|
1916
|
+
|
|
1917
|
+
|
|
1753
1918
|
</td></tr>
|
|
1754
1919
|
<tr><td>
|
|
1755
1920
|
|
|
@@ -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) > [MoreDataAvailableEventDetail](./grid-pro.moredataavailableeventdetail.md) > [hasMoreData](./grid-pro.moredataavailableeventdetail.hasmoredata.md)
|
|
4
|
+
|
|
5
|
+
## MoreDataAvailableEventDetail.hasMoreData property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
hasMoreData: boolean;
|
|
11
|
+
```
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [MoreDataAvailableEventDetail](./grid-pro.moredataavailableeventdetail.md)
|
|
4
|
+
|
|
5
|
+
## MoreDataAvailableEventDetail interface
|
|
6
|
+
|
|
7
|
+
Event detail for more data availability
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface MoreDataAvailableEventDetail
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Property
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Modifiers
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Type
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th><th>
|
|
33
|
+
|
|
34
|
+
Description
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</th></tr></thead>
|
|
38
|
+
<tbody><tr><td>
|
|
39
|
+
|
|
40
|
+
[hasMoreData](./grid-pro.moredataavailableeventdetail.hasmoredata.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
boolean
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</td></tr>
|
|
55
|
+
<tr><td>
|
|
56
|
+
|
|
57
|
+
[sourceRef](./grid-pro.moredataavailableeventdetail.sourceref.md)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</td><td>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</td><td>
|
|
64
|
+
|
|
65
|
+
string
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
</td><td>
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
</td></tr>
|
|
72
|
+
</tbody></table>
|
|
73
|
+
|
|
@@ -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) > [MoreDataAvailableEventDetail](./grid-pro.moredataavailableeventdetail.md) > [sourceRef](./grid-pro.moredataavailableeventdetail.sourceref.md)
|
|
4
|
+
|
|
5
|
+
## MoreDataAvailableEventDetail.sourceRef property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
sourceRef: string;
|
|
11
|
+
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [SchemaUpdatedEventDetail](./grid-pro.schemaupdatedeventdetail.md)
|
|
4
|
+
|
|
5
|
+
## SchemaUpdatedEventDetail interface
|
|
6
|
+
|
|
7
|
+
Event detail for schema updates
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface SchemaUpdatedEventDetail
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Property
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Modifiers
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Type
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th><th>
|
|
33
|
+
|
|
34
|
+
Description
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</th></tr></thead>
|
|
38
|
+
<tbody><tr><td>
|
|
39
|
+
|
|
40
|
+
[metadata?](./grid-pro.schemaupdatedeventdetail.metadata.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
FieldMetadata\[\]
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
_(Optional)_
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</td></tr>
|
|
57
|
+
<tr><td>
|
|
58
|
+
|
|
59
|
+
[schema](./grid-pro.schemaupdatedeventdetail.schema.md)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
</td><td>
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
</td><td>
|
|
66
|
+
|
|
67
|
+
ColDef\[\]
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</td><td>
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
</td></tr>
|
|
74
|
+
</tbody></table>
|
|
75
|
+
|
|
@@ -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) > [SchemaUpdatedEventDetail](./grid-pro.schemaupdatedeventdetail.md) > [metadata](./grid-pro.schemaupdatedeventdetail.metadata.md)
|
|
4
|
+
|
|
5
|
+
## SchemaUpdatedEventDetail.metadata property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
metadata?: FieldMetadata[];
|
|
11
|
+
```
|
|
@@ -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) > [SchemaUpdatedEventDetail](./grid-pro.schemaupdatedeventdetail.md) > [schema](./grid-pro.schemaupdatedeventdetail.schema.md)
|
|
4
|
+
|
|
5
|
+
## SchemaUpdatedEventDetail.schema property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
schema: ColDef[];
|
|
11
|
+
```
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [ServerSideDatasourceOptions](./grid-pro.serversidedatasourceoptions.md)
|
|
4
|
+
|
|
5
|
+
## ServerSideDatasourceOptions type
|
|
6
|
+
|
|
7
|
+
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
Type definition for configuration options used for streams.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
export type ServerSideDatasourceOptions = {
|
|
16
|
+
createDataserverStreamFunc?: (existingParams?: any) => Promise<SocketObservable<FilteredDataServerResult>>;
|
|
17
|
+
createReqRepRequestFunc?: (existingParams?: any) => Promise<RequestServerResult>;
|
|
18
|
+
createReqRepStreamFunc?: (params?: any) => Promise<{
|
|
19
|
+
stream: SocketObservable<RequestServerResult>;
|
|
20
|
+
datasource: Datasource;
|
|
21
|
+
}>;
|
|
22
|
+
onPollingUpdateFunc?: (result: RequestServerResult) => void;
|
|
23
|
+
resetPreviousPollResultFunc?: () => void;
|
|
24
|
+
reloadResourceDataFunc?: (params: any) => Promise<void>;
|
|
25
|
+
errorHandlerFunc?: (message: string, type: string) => void;
|
|
26
|
+
resourceName: string;
|
|
27
|
+
resourceParams?: DataserverParams | RequestParams;
|
|
28
|
+
resourceIndexes?: Map<string, [string]>;
|
|
29
|
+
resourceColDefs?: MetadataDetail[];
|
|
30
|
+
maxRows?: number;
|
|
31
|
+
maxView?: number;
|
|
32
|
+
rowId?: string;
|
|
33
|
+
pagination?: boolean;
|
|
34
|
+
zeroBasedViewNumber?: boolean;
|
|
35
|
+
pagingMode?: PagingMode | undefined;
|
|
36
|
+
criteriaOnlyRequest?: boolean;
|
|
37
|
+
usePolling?: boolean;
|
|
38
|
+
};
|
|
39
|
+
```
|
|
40
|
+
**References:** [PagingMode](./grid-pro.pagingmode.md)
|
|
41
|
+
|
|
42
|
+
## Remarks
|
|
43
|
+
|
|
44
|
+
Used by [GridProServerSideDatasource](./grid-pro.gridproserversidedatasource.md) constructor to configure options for the stream.
|
|
45
|
+
|