开发者

JasperReports Groups

Is there a way to use the 开发者_如何学Pythonfirst value of the data within a group?

For example I have the following data:

1 12/1
1 12/5
2 1/2 
3 5/6
3 6/6

I would like for the data output to be: [with groups]

Group Header for 1 start date: 12/1
  [Data]

Group Header for 2 start date: 1/2
  [Data]

Group Header for 3 start date: 5/6
  [Data]


You can define a variable, let it reset on each group, set the calculation type to 'first' and the expression to the field you want to display.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜