I require the user to select a value from a list/combobox and they then should be able to add some text to the selected value from the combobox. Of course you can not edit the selected value. I worked around the problem by putting the combobox in front of a text field and then copy the select value into the text field on the valuechanged event. Is this the best way or is there another way given the current functionality of the combobox. I found how to get the selected value from a combobox in the Q&A and agree with Michiel that maybe a special api call for dealing with the combobox would be nice. Using the suggested mechanism also requires you the create an unique index on the description column of your table with the identifier/description pair. As you have to use api_datasource.getcolumnvaluetxbypk on the datasource of your "List". |
Hi Raymond, Yes, the work around that you have implemented is the best way to handle your requirement. Also, thanks for the feedback about retrieving the selected value from the combobox. Regards, |