我在列标题区域中有列标题,我想冻结并使细节带(在显示实际数据的位置)可滚动。如何冻结iReport/Jasper报告中的列标题
这里是列标题代码段
<columnHeader>
<band height="36" splitType="Stretch">
<staticText>
<reportElement stretchType="RelativeToBandHeight" mode="Opaque" x="1410" y="0" width="113" height="34" isRemoveLineWhenBlank="true" forecolor="#404040" backcolor="#BBD7EF"/>
<textElement>
<font fontName="Trebuchet MS" size="13" isBold="true"/>
</textElement>
<text><![CDATA[Extra Hrs Amount]]></text>
</staticText>
<staticText>
<reportElement stretchType="RelativeToBandHeight" mode="Opaque" x="1616" y="0" width="90" height="34" isRemoveLineWhenBlank="true" forecolor="#404040" backcolor="#BBD7EF"/>
<textElement>
<font fontName="Trebuchet MS" size="13" isBold="true"/>
</textElement>
<text><![CDATA[Parking Fees]]></text>
</staticText>
<staticText>
<reportElement stretchType="RelativeToBandHeight" mode="Opaque" x="1798" y="0" width="92" height="34" isRemoveLineWhenBlank="true" forecolor="#404040" backcolor="#BBD7EF"/>
<textElement>
<font fontName="Trebuchet MS" size="13" isBold="true"/>
</textElement>
<text><![CDATA[Net Payment]]></text>
</staticText>
</band>
</columnHeader>
你可以发布的代码段和小说明你如何做,因为它不清楚... – Anil
@Vinay你谈论xls文档? –
不,HTML报告 – n92