on 10-23-2023 1:52 PM
Hi,
in optimized design experience I have a table where the single dimension on rows can be changed per InputControl and I would like to retrieve current active dimension (not its id or value) without noticable delay.
console.log(InputControl_1.getInputControlDataSource().getActiveSelectedMembers());
Result:
console.log(Tbl_KoRgKr.getDimensionsOnRows());
That is why I have choosen .getResultSet as starting point but how can I retrive the objects key directly (0CO_AREA)?
I found a way w/o delay but there must be a more direct way as looping through all possible dimensions seems not to be the most efficient way.
var resultset = DataSource.getResultSet({"00O2TH23Y2YIQRZKK647VMOK7":"00O2TH23Y2YIQRZKZPMZ3AA53"})[0];
if (resultset ["0CO_AREA"] !== undefined) {
var dim = "0CO_AREA";
} else if (resultset ["0DB_CR_IND"] !== undefined) {
dim = "0DB_CR_IND";
} else if (resultset ["ZCSE_ALL"] !== undefined) {
dim = "ZCSE_ALL";
} ...
br
edgar
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
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.