My JRML looks like:
<group name="COLUMN_7">
<groupExpression><![CDATA[$F{COLUMN_7}]]></groupExpression>
<groupHeader>
<band height="15">
<staticText>
<reportElement key="StaticText_COLHEADER_COLUMN_7" mode="Opaque" x="0" y="0" width="82" height="15" forecolor="#ffffff" backcolor="#64"/>
<textElement>
<font fontName="Arial" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica"/>
</textElement>
<text><![CDATA[File Name :]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement key="TextField_COLFIELD_COLUMN_7" positionType="Float" mode="Opaque" x="82" y="0" width="458" height="15" forecolor="#ffffff" backcolor="#64"/>
<textElement textAlignment="Justified">
<font fontName="Arial" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{COLUMN_7}.substring($F{COLUMN_7}.lastIndexOf(File.separatorChar)+1)]]></textFieldExpression>
</textField>
</band>
</groupHeader>
//...
</group>
however for the filename field.. incase the filename is more than the limit of characters set, it only displays:
"c:" out of the entire absolute path. i am not able to figure out why despite setting the "isStretchWithOverflow" property to "true".
any ideas?