on 10-16-2015 4:07 PM
Hello experts,
At the moment of pressing the second TabFilter, the input value present in the first tabfilter ("Value_1") should be saved in controller´s variable "Glob_P".
After reading the correct answer from Florian Hafner in this post, I tried to implement that code in controller:
"var oView = this.getView();
Glob_P = oView.byId('TV_1').getValue();"
but it did not worked (I believe I am still missing to give the correct reference of the view). I have also tried with the proposal from Nagarajan Kumarappan in his blog. Still I am not obtaining the result. Here are my two attempts:
JS Bin - Collaborative JavaScript Debugging
What am I missing? please help. I thank you for your support,
Gabriel
Hi Gabriel,
this.getView().byId("TV_1") should work fine. JSBin Edited, please check: JS Bin - Collaborative JavaScript Debugging
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much Sai. I should´ve been made some mistake somewhere during my attempts.
In case a text value should be retrieved, then is also possible. Based on your solution I implemented it (in case somebody needs in the future)
JS Bin - Collaborative JavaScript Debugging
Kind Regards,
Gabriel
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.