zinkee 0.1.57 → 0.1.58
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
CHANGED
|
@@ -663,6 +663,8 @@ For HIERARCHY, `label` is required at every level but info/number mappings are o
|
|
|
663
663
|
|
|
664
664
|
Widget types: `TABLE_OR_SUBTABLE`, `DETAIL`, `KPI`, `CHART`, `TIMELINE`, `KANBAN`, `HIERARCHY`.
|
|
665
665
|
|
|
666
|
+
`displays widgets update` merges the view into what is saved instead of replacing it. On a table, `--field` lists the visible columns: columns that were already visible keep their position, width, pinning and aggregations, hidden or new ones move to the end in the order you pass them and become visible, and omitted ones are hidden. `--view-state` (and `view.viewAdditionalProperties` in `--raw`) is merged key by key into the saved `viewState`, so you can change one setting without resending the rest; arrays such as `hiddenColumns` are replaced whole. If the same update also changes `--origin-resource`, `--field` and `--view-state` rebuild the view as on `create`; changing only `--origin-resource` keeps the saved view.
|
|
667
|
+
|
|
666
668
|
### Set freeform layout
|
|
667
669
|
|
|
668
670
|
After creating widgets, position them on a 12-column grid:
|
|
@@ -1840,7 +1840,7 @@ var specificExamples = {
|
|
|
1840
1840
|
],
|
|
1841
1841
|
"displays widgets update": [
|
|
1842
1842
|
{
|
|
1843
|
-
description: "Move placement, update view columns, rename the widget and lock it.",
|
|
1843
|
+
description: "Move placement, update view columns, rename the widget and lock it. The server merges view.fields into the saved table view: columns already visible keep their position and width, hidden or new ones move to the end and become visible, and omitted ones are hidden.",
|
|
1844
1844
|
command: `zinkee --json displays widgets update 0f6f062f-1478-4df2-96a1-c495d037d260 11111111-1111-4111-a111-111111111111 --layout '{"x":1,"y":2,"w":8,"h":4}' --field contact-name --field status --field amount --name "Revenue Updated" --widget-read-only`,
|
|
1845
1845
|
raw: `{
|
|
1846
1846
|
"placement": {
|
|
@@ -4470,4 +4470,4 @@ function withResponseEnvelope(example, commandName) {
|
|
|
4470
4470
|
export {
|
|
4471
4471
|
getCommandExamples
|
|
4472
4472
|
};
|
|
4473
|
-
//# sourceMappingURL=examples-
|
|
4473
|
+
//# sourceMappingURL=examples-RPCREBTK.js.map
|