问题描述
我想要一对取决于值的 textfield.并且y"值应根据空白进行调整.
i would like to have a pair of textfields depending on a value. and the "y"-value should be adjusted depending on the empty space.
当值为 "0" 我想隐藏 textfield.
when the value is "0" i would like to hide the textfield.
即我想隐藏 statictext 和 textfield 如果参数 red 等于 "0" 并且有蓝色值向上移动,在下面的 jrxml 代码中:
i.e. i would like to hide the statictext and the textfield if the parameter red is equal to "0" and have the blue values moved up, in the jrxml-code below:
输出示例:
//if blue = 3 and red = 2 if blue = 3 and red = 0 if blue = 0 and red = 2 red items: 2 blue items: 3 red items: 2 blue items: 3
这些文本字段将放置在我的报告的末尾.我该怎么做?
these textfields will be placed at the end of my report. how can i do this?
推荐答案
您可以使用 ireport 以令人愉悦的 ui 对其进行修改.
you can use ireport to modify this with a pleasant ui.