group expression in jasper reports

Posted by ed1t on Stack Overflow See other posts from Stack Overflow or by ed1t
Published on 2010-03-29T15:11:42Z Indexed on 2010/03/29 15:33 UTC
Read the original article Hit count: 529

Filed under:

I've a report which has a has 5 columns on each page and I have a group defined which shows columns related to

A | B | C | D | E - main column

X | Y | Z - group - A is the key

I have my query ORDER BY A, but when it is displayed it doesn't print the results in next page if A is changed.

Following is how I have a group defined.

<group name="A" isResetPageNumber="true" >
    <groupExpression><![CDATA[$F{A}]]></groupExpression>
    <groupHeader>
        <band/>
    </groupHeader>
    <groupFooter>
        <band/>
    </groupFooter>
</group>

does A need to be part of the group?

© Stack Overflow or respective owner

Related posts about jasper-reports