Skip to content

Commit 075a798

Browse files
authored
Update README.md
Docs for editable grid.
1 parent 8ba6066 commit 075a798

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ If each value needs another icon, the you can paste a JSON in this field contain
9696
Icon and color doesn't have to be both defined. You can specify only the icon or only the color.
9797
Actually the color shouldn't be necessary at this point. I intend to have it more for CanvasApps later on.
9898

99+
If you want to define the configuration for a boolean (two option) column, you need to define for values "0" - false and "1" - true.
100+
So boolean configurations could look like this:
101+
```javascript
102+
{"0": {"icon": "Sad"}, "1":{"icon":"Emoji2"}}
103+
```
104+
105+
106+
99107
❗ The input length is limited to 100 char for now. So only a short JSON will pass. The next step will be to introduce the 3rd possibility for "Icon definition": "Environment variables". There the place is not limited, while they are solution aware.
100108

101109

@@ -104,6 +112,15 @@ If you need more columns, you can define "Optionset 2" and "iconConfig2" paramet
104112
❗ If only "Optionset x" is defined, but not the "iconConfig x", then the "Default icon name" will be used.
105113

106114

115+
## Editable version
116+
117+
Starting with the release 9, you can make the boolean (two option) columns editable. To do that, just choose the "Editable" option in the PCF customizing.
118+
The default will be "Read only"
119+
![ConfigEditable](./Docs/img/config/Editable_Config.png)
120+
121+
![Editable](./Docs/img/Release/ColorfulOptionsetGrid_Editable.gif)
122+
123+
107124
## Open isses:
108125
- Translations
109126
- Extend the icon definition to "Environment variables"

0 commit comments

Comments
 (0)