on ‎2016 Nov 18 7:28 AM
Hi,
I want to select value of the datasource,so I was use a datasource banding to a dropdown.
And I want to set a default value,like this code:
var d1=APPLICATION.getInfo().dateNowInternalFormat.substring(0,4); DROPDOWN_1.setSelectedValue(d1);
Its should selected default value that the present year,but false.
Anyone can help me?thanks!
Request clarification before answering.
I am not able to find the Follow Filter State option. I am running Design Studio 1.6 SP3. Any suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for not being more specific. I am trying to use the DROPDOWN_2.setSelectedValue("All") to return my drop down to the proper state after a Reset All button is clicked. The Reset All properly removes all filters and does not complain about the setSelectedValue() command but the dropdown box remains at its previously selected value. Here is the screenshot of the DROPDOWN_2 properties.
Thanks,
Sue
Thanks for advice. I don't get on here much ... a professor and not a "real" end-user!
Hi Sue.
In this situation,maby your question isn't related to mine.If you just need to reset the dropdown selectvalue changed when you click Reset All button,you should do like this:on your Reset All button,you just need add follow code :dropdown.setselectvalue("ALL");DS_1.clearfilter("XX").
Regards.
Jing
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.