使一个输入控件影响第二个输入控件的选择
使用 ireport 我知道如何制作输入控件,但我有一个问题我想知道是否可行。我想要两个输入控件,但我需要其中一个仅由用户为第一个输入控件选择的内容填充。
例如,我的第一个输入控件有 3 个类别,根据从第一个输入控件中选择的内容,这 3 个类别中的某些选择将需要显示在第二个输入控件的下拉框中。
是否可以将与第一个输入控件中选择的选项相关的选项填充到第二个输入控件中?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的。您可以在 JasperForge 上阅读有关级联输入控件的信息。
Yes, it is. You can read about cascading input controls at JasperForge.