|Re: Dynamic combobox content generated out of the model [message #722091 is a reply to message #720948]
||Sun, 04 September 2011 08:00
| Kamesh Sampath
Registered: July 2009
I tried this way,lets take the Ezbug example and we have IBugReport which has ProductStage property, by default Sapphire renders it with a radio buttons, if you want that to be changed to drop-down list you can just add an additional presentation hint "prefer.combo"
So your UI def (.sdef) for the drop-down property will look like ,
This will show the drop-down instead of the radio buttons.
PS: I use the latest stream build as I have the source code checked out and i build use from it. So please verify if this hint comes option for you in the "Hints" section of the property editor.
Just thought of suggesting it, please ignore it if this hit doesn't come as option with the version of Sapphire you are using.
[Updated on: Sun, 04 September 2011 08:02]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.07822 seconds