Discussion:
modify ChoiceItem at runtime
Elmar Werling
2014-03-08 15:38:14 UTC
Permalink
Hello,

I would like to modify the choices displayed by ChoiceItem at runtime,
so that the items of choice_2 depends on the selected item of choice_1

For example having the following data structure

d = {'one': ['Item1', 'Item1', 'Item2', 'Item2'],
'two': ['item2a', 'item1b', 'item2a', 'item2b'])

only item2a and item2b should be displayed in choice_2, if in choice_1
Item2 was selected.

Any hint would be wellcome.

Thanks
Elmar
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Loading...