cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Input control : select and deselect nodes in the hierarchy using Javascript

Malya
Explorer
0 Kudos
229

Hi Experts,

I have an input control on the Profit Center with hierarchy enabled, and I would like to achieve the following functionality using Javascript:

Based on my drop-down selection, I want to include certain nodes and exclude others from the hierarchy. I can currently include nodes with the following code:

IC_ProfitC.getInputControlDataSource().setSelectedMembers(["[Y_PROFITC].[MAIN_HIER].&[0000000080]","[Y_PROFITC].[MAIN_HIER].&[0000000031]"]);

However, I am unsure of how to exclude/unselect one or more nodes from the input control.

Can anyone assist with how to achieve this functionality?

Thanks in advance,

Malya

 

Accepted Solutions (0)

Answers (0)