Jump to content
We've recently updated our Privacy Statement, available here ×

moyphus

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by moyphus

  1. How to create table in ireport...It throws an error

    Code:
    <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="RequestApproval">							<dataSourceExpression><![CDATA[$F{requestApproval}]]></dataSourceExpression>						</datasetRun>						<jr:column width="90">							<jr:columnHeader style="table 1_CH" height="30">								<staticText>									<reportElement x="0" y="0" width="90" height="30"/>									<textElement/>									<text><![CDATA[ApprovalId]]></text>								</staticText>							</jr:columnHeader>							<jr:detailCell style="table 1_TD" height="20">								<textField>									<reportElement x="0" y="0" width="90" height="20"/>									<textElement/>									<textFieldExpression class="java.lang.String"><![CDATA[$F{ApprovalId}]]></textFieldExpression>								</textField>							</jr:detailCell>						</jr:column>						<jr:column width="90">							<jr:columnHeader style="table 1_CH" height="30">								<staticText>									<reportElement x="0" y="0" width="90" height="30"/>									<textElement/>									<text><![CDATA[status]]></text>								</staticText>							</jr:columnHeader>							<jr:detailCell style="table 1_TD" height="20">								<textField>									<reportElement x="0" y="0" width="90" height="20"/>									<textElement/>									<textFieldExpression class="java.lang.String"><![CDATA[$F{Status}]]></textFieldExpression>								</textField>							</jr:detailCell>						</jr:column>						<jr:column width="90">							<jr:columnHeader style="table 1_CH" height="30">								<staticText>									<reportElement x="0" y="0" width="90" height="30"/>									<textElement/>									<text><![CDATA[statusDescription]]></text>								</staticText>							</jr:columnHeader>							<jr:detailCell style="table 1_TD" height="20">								<textField>									<reportElement x="0" y="0" width="90" height="20"/>									<textElement/>									<textFieldExpression class="java.lang.String"><![CDATA[$F{StatusDescription}]]></textFieldExpression>								</textField>							</jr:detailCell>						</jr:column>						<jr:column width="90">							<jr:columnHeader style="table 1_CH" height="30">								<staticText>									<reportElement x="0" y="0" width="90" height="30"/>									<textElement/>									<text><![CDATA[ApprovalType]]></text>								</staticText>							</jr:columnHeader>							<jr:detailCell style="table 1_TD" height="20">								<textField>									<reportElement x="0" y="0" width="90" height="20"/>									<textElement/>									<textFieldExpression class="java.lang.String"><![CDATA[$F{ApprovalType}]]></textFieldExpression>								</textField>							</jr:detailCell>						</jr:column>						<jr:column width="90">							<jr:columnHeader style="table 1_CH" height="30">								<staticText>									<reportElement x="0" y="0" width="90" height="30"/>									<textElement/>									<text><![CDATA[RecordUpdatedUserId]]></text>								</staticText>							</jr:columnHeader>							<jr:detailCell style="table 1_TD" height="20">								<textField>									<reportElement x="0" y="0" width="90" height="20"/>									<textElement/>									<textFieldExpression class="java.lang.String"><![CDATA[$F{RecordUpdatedUserId}]]></textFieldExpression>								</textField>							</jr:detailCell>						</jr:column>						<jr:column width="90">							<jr:columnHeader style="table 1_CH" height="30">								<staticText>									<reportElement x="0" y="0" width="90" height="30"/>									<textElement/>									<text><![CDATA[RecordUpdatedOn]]></text>								</staticText>							</jr:columnHeader>							<jr:detailCell style="table 1_TD" height="20">								<textField>									<reportElement x="0" y="0" width="90" height="20"/>									<textElement/>									<textFieldExpression class="java.sql.Timestamp"><![CDATA[$F{RecordUpdatedOn}]]></textFieldExpression>								</textField>							</jr:detailCell>						</jr:column>						<jr:column width="90">							<jr:columnHeader style="table 1_CH" height="30">								<staticText>									<reportElement x="0" y="0" width="90" height="30"/>									<textElement/>									<text><![CDATA[RequestId]]></text>								</staticText>							</jr:columnHeader>							<jr:detailCell style="table 1_TD" height="20">								<textField>									<reportElement x="0" y="0" width="90" height="20"/>									<textElement/>									<textFieldExpression class="java.lang.String"><![CDATA[$F{RequestId}]]></textFieldExpression>								</textField>							</jr:detailCell>						</jr:column>						<jr:column width="90">							<jr:columnHeader style="table 1_CH" height="30">								<staticText>									<reportElement x="0" y="0" width="90" height="30"/>									<textElement/>									<text><![CDATA[ApprovedBy]]></text>								</staticText>							</jr:columnHeader>							<jr:detailCell style="table 1_TD" height="20">								<textField>									<reportElement x="0" y="0" width="90" height="20"/>									<textElement/>									<textFieldExpression class="java.lang.String"><![CDATA[$F{ApprovedBy}]]></textFieldExpression>								</textField>							</jr:detailCell>						</jr:column>					</jr:table>
×
×
  • Create New...