问题
Using ireport I know how to make input controls but I have one issue that I wonder is do-able. I would like to have two input controls but I need one of them to be filled only by whatever the user picks for the first input control.
For instance, my first input control has 3 categories, from those 3 categories certain choices will need to show up in the 2nd input control's drop-down box according to whatever was chosen from the first input control.
Is it possible to have the choices be filled to the second input control in relation to what was chosen in the first?
回答1:
Yes, it is. You can read about cascading input controls at JasperForge.
来源:https://stackoverflow.com/questions/9366566/making-one-input-control-affect-the-choices-of-a-second-input-control