on 01-14-2019 1:32 PM
Hi , I have an enum for status attribute and this is to be made editable for a usergroup only when it has the value "success". Also out of the 10 possible status values, only 2 should be selectable by this group. Any pointers on how it can be achieved?
I have thought about using AbstractCockpitEditorRenderer to identify the group and populate the dropdown accordingly.But how to make it editable only when specific value is set beforehand?
Any pointers will be helpful.
Thanks!
Hi ,
Seams to me that your requirement is pretty custom and you need to introduce new editor (or extend existing one). There you should be simply able to add event listener to dropdown and react to change however you wish.
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.