careysb Posted January 31, 2007 Share Posted January 31, 2007 I'm trying to get a column to word wrap when the data is too long to fit in the given column width. I've tried to set isStretchWithOverflow to 'true', but it seems to have no effect. The text does wrap (whether true or false) except the wrapped text overprints the beginning portion of the text, rather than being placed below it. Any help would be greatly appreciated. Carey Code: <textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="110" y="5" width="100" height="12" key="offeringDescription1"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement><font/></textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{offeringDescription1}.trim()]]></textFieldExpression> </textField> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now