@genesislcap/grid-pro 14.321.0 → 14.321.1-alpha-ada81fd.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/README.md +1 -1
- package/dist/custom-elements.json +568 -282
- package/dist/dts/datasource/base.datasource.d.ts +64 -5
- package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-reqrep.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +2 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/status-bar-components/pagination.status-bar.d.ts.map +1 -1
- package/dist/esm/datasource/base.datasource.js +61 -19
- package/dist/esm/datasource/server-side.resource-reqrep.js +19 -6
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +40 -2
- package/dist/esm/status-bar-components/pagination.status-bar.js +29 -4
- package/dist/grid-pro.api.json +44 -14
- package/dist/grid-pro.d.ts +66 -5
- package/docs/api/grid-pro.genesisgriddatasourceelement.criteria.md +2 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.disablepolling.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.fields.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.issnapshot.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.maxrows.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.maxview.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.md +47 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.movingview.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.offset.md +18 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.orderby.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.pollinginterval.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.polltriggerevents.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.request.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.resourcename.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.reverse.md +7 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.viewnumber.md +2 -0
- package/docs/api-report.md.api.md +1 -14
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -460,6 +460,7 @@ Some **resource** related attributes are `DATASERVER` or `REQUEST_SERVER` speci
|
|
|
460
460
|
| `is-snapshot` | `boolean` | `false` | Request a snapshot from the server. |
|
|
461
461
|
| `criteria` |`string`| - |Clients can send a Groovy expression to perform filters on the query server; these remain active for the life of the subscription.|
|
|
462
462
|
| `max-rows` | `number` | `250` | Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages. **This will not affect the number of rows displayed**|
|
|
463
|
+
| `order-by` | `string` | - | This option can be used to select a [Data Server index](https://learn.genesis.global/docs/database/data-types/index-entities/) (defined in the Data Server `query`), which is especially useful if you want the data to be sorted in a specific way. For REQUEST_SERVER scenarios, you can use as `FIELD_A ASC FIELD_B DESC`. By default, rows are returned in order of creation (from oldest database record to newest).|
|
|
463
464
|
| `view-number` | `number` | - | The desired view/page you want data from. |
|
|
464
465
|
|
|
465
466
|
##### DATASERVER only attributes
|
|
@@ -469,7 +470,6 @@ Some **resource** related attributes are `DATASERVER` or `REQUEST_SERVER` speci
|
|
|
469
470
|
| `fields` | `string` | - | This optional parameter allows you to select a subset of fields from the query if the client is not interested in receiving all of them. |
|
|
470
471
|
| `max-view` | `number` | `1000` | Maximum number of rows to track as part of a client "view" |
|
|
471
472
|
| `moving-view` | `boolean` | `false` | If true, when the maximum number of rows defined in `max-view` is reached, the Data Server will start discarding the oldest rows (in terms of timestamp) and sending newer rows. If false, the updates in the server will be sent to the front end regardless of order. Note that this will only update the UI; no changes will be performed in the database.|
|
|
472
|
-
| `order-by` | `string` | - | This option can be used to select a [Data Server index](https://learn.genesis.global/docs/database/data-types/index-entities/) (defined in the Data Server `query`), which is especially useful if you want the data to be sorted in a specific way. By default, Data Server rows are returned in order of creation (from oldest database record to newest).|
|
|
473
473
|
| `reverse` | `boolean` | `false` | This option changes the [Data Server index](https://learn.genesis.global/docs/database/data-types/index-entities/) iteration. For example, if you are using the default index, the query will return rows in order from the newest database records to the oldest.|
|
|
474
474
|
|
|
475
475
|
##### REQUEST_SERVER only attributes
|