🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

[solved] dependency in parameter fields

User: "venkatesh20"
New Altair Community Member
Updated by Jocelyn
Hi,
I am developing a new optimization extension for rapid miner, I am running across a scenario like this.
I have a dropbox (ParameterTypeCategory), based on the values selected in this drop box, the values in the second drop box need to be filtered.
Is it possible?

So far I have only used type.registerDependencyCondition(new EqualTypeCondition(this, ......, availableOptimizationMethods, false, 0, 1, 2));
which helps to enable or disable a parameter based on the value of another parameter. But I just wondering if the choices in a drop box can be filtered or modified based on the value in the another parameter.

Any help would be very useful. Thanks in advance.

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Marco_Boeck"
    New Altair Community Member
    Hi,

    I'm afraid this is not possible at the moment. You could of course implement functionality to achieve your goal, however it is probably much easier (or not, depending on the number of possible combinations) to create multiple drop boxes with the possible value combinations and show the appropriate one when the EqualTypeCondition is fulfilled.

    Regards,
    Marco
    User: "venkatesh20"
    New Altair Community Member
    OP
    Hi Marco,
    I created multiple drop boxes as you suggested already, but i felt there is not repetitive code and data. But I think I have already implemented using multiple drop boxes and implementing custom parameter type. Thanks for confirming that is the way to go..