Hi,
We've got a SelectItem that is populated with enum values. Is it possible to disable one or more options in the list without actually removing it from the ValueMap?
The scenario is like this:
- We've got an invoice which "type" is set "undefined" programmatically when an invoice is created on the server side.
- The user needs to select a new type for the invoice from the SelectItem.
- He should be able to select all values, except "undefined", but he should also be able to see that it is currently "undefined"
If we remove "undefined" from the underlying ValueMap the user gets an ugly UNDEFINED text in the SelectItem.
If we do not remove it, we can't seem to find a way to easily disable that value in the UI.
Best regards
Kimf
---
Using SmartGWT 2.5 Pro.
We've got a SelectItem that is populated with enum values. Is it possible to disable one or more options in the list without actually removing it from the ValueMap?
The scenario is like this:
- We've got an invoice which "type" is set "undefined" programmatically when an invoice is created on the server side.
- The user needs to select a new type for the invoice from the SelectItem.
- He should be able to select all values, except "undefined", but he should also be able to see that it is currently "undefined"
If we remove "undefined" from the underlying ValueMap the user gets an ugly UNDEFINED text in the SelectItem.
If we do not remove it, we can't seem to find a way to easily disable that value in the UI.
Best regards
Kimf
---
Using SmartGWT 2.5 Pro.
Comment