on 2016 Oct 04 6:36 AM
I’d appreciate assistance with ticking all values of a checkbox group on startup.
In On Startup I have:
FUNDING_CHECKBOXGROUP.setSelectedValues("_FaZ_QXlLEeaWeqtXjRsKAw");
Is this script correct?
I’m binding the Checkbox group as follows
There are only two values in the dimension, which display as follows:
Design Studio 1.6 SP1
Source: Universe
Thanks in advance.
Greg
Request clarification before answering.
Hi Greg,
You need to specify an array of values for the dimension members you would like selected, as follows:
FUNDING_CHECKBOXGROUP.setSelectedValues(["<FEDERAL key>","<NT Key>"])
For a Universe, since the key and text are the same, I expect the exact script should be as follows:
FUNDING_CHECKBOXGROUP.setSelectedValues(["FEDERAL","NT"])
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mustafa,
I want to change the checkbox group items on a button click.
There are five different buttons in a grid and a checkbox in another grid.
Based on the button click i want to change the items in the checkbox group , like i need to change the member assigned to it from the same data set
I tried using ,
CHECKBOXGROUP_1.setItems(DS_2.getMemberList("DS:2,DIM:id_29", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT_KEY, 200)).
But its not working so i had to make diff checkbox panels for each button and hide show based on click.
Can you let me know as in why Checkbox.setitems is not working?
Thank You
User | Count |
---|---|
63 | |
8 | |
7 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.