我正在使用Jasper报告。我发送到页面的数据不会像下面的图像一样填入jrTable。我怎么能伸展它?提前谢谢。
<componentElement>
<reportElement key="table 5" style="table 5" stretchType="RelativeToBandHeight" x="3" y="323" width="546" height="302" isPrintWhenDetailOverflows="true"/>
<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
<datasetRun subDataset="bufferList">
<datasetParameter name="REPORT_DATA_SOURCE">
<datasetParameterExpression><![CDATA[$P{bufferList}]]></datasetParameterExpression>
</datasetParameter>
</datasetRun>
<jr:column width="90">
<jr:tableHeader style="table 5_TH" height="30"/>
<jr:columnHeader style="table 5_CH" height="30">
<staticText>
<reportElement x="0" y="0" width="90" height="30"/>
<text><![CDATA[buffer_name]]></text>
</staticText>
</jr:columnHeader>
..........