Hello everybody!
There is any simple way to select de DropDownByIndex item based on the RFC result?
I'll explain...
For example: I ve got a Customer sign up, where the client must to choice the Region in a DropDownByIndex object ( provided by a RFC ).
It works fine... My problem is: When I need to update de customer's data, I need to enter in this view and select the Region based on the saved key. I did a function that iterate in de Region elements looking for the saved key, but I think it is not the better solution!
There is any better way to do this? DropDownByKey is not a option!
Hi,
I think ur facing problem with Extended value selector,there are few oprions with this sorting etc. but if you want to select the region based on saved key i think you have to take care by coding, why don't to generate a value attribute and assign the saved key (Genric way) so that each user when he enters his selscted key will be stroed in value attribute pass this saved ket and update the data for that particular key (User selsction) ( all that you have to write is a setter method)
RK
Hi,
I don't think you will find anything significantly better.
You can make some sort of optimization by sorting you Region values and then searching faster then iterating, but the the most you can do. (As far as I know at least)
If you are talking about small number of values I don't think the sort would change anything.
Hope it helps.
Victor.
Add a comment