on 07-21-2012 4:47 PM
Hi all,
Anyone knows how to link the value of threshold slider with a dropdown value? I created a threshold slider with a scale of 1-5
1. poor
2. needs development
3. is competent
4. exceptional
5. is outstanding
Meaning, if you select the dropdown value 3, the slider bar needs to be at 3 as well. Vice versa if I drag the slider bar to 3, I need the selected dropdown value to be at 3 as well.
The example given in the WDR_TEST_THRESHOLD_SLIDER program can only link a textview with the slider.
In the example slider onaction code and the textview onaction code, both only consist the following codes:
cl_wdr_view_explorer=>onaction(
i_wdevent = wdevent
i_wd_context = wd_context ).
I used this in the dropdown onselect code but it wont have any effect on the slider.
Hi Siong,
In WDR_TEST_THRESHOLD_SLIDER I notice that the value property of both the UI elements InputField VALUEINP and ThresholdSlider MYTHRESHOLDSLIDER are bound to the same context attribute, MAIN.VALUE. I wonder if you have done the same with your Dropdown element's selectedKey property?
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.