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

khare.siddharth28

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by khare.siddharth28

  1. I am using FastReportBuilder, DJCrosstab, CrosstabBuilder and similar classes to build my dynamic jasper report. I want to have a crosstabheader cell with multiple text fields using dynamic jasper, I am getting the required report format by manually changing the JRXML. Can this be done by dynamic jasper? Here is what I need in JRXML.

    <crosstabHeaderCell>
    <cellContents backcolor="#D0F2DC" mode="Opaque">
    <textField isStretchWithOverflow="true">
    <reportElement x="0" y="0" width="375" height="70"/>
    <box>
    <topPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    <leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    <bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    <rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    </box>
    <textElement/>
    <textFieldExpression><![CDATA["Val1, Val2 vs.nVal3, Val4"]]></textFieldExpression>
    </textField>
    <textField isStretchWithOverflow="true">
    <reportElement x="0" y="35" width="300" height="35"/>
    <box>
    <topPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    <leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    <bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    <rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    </box>
    <textElement/>
    <textFieldExpression><![CDATA["Val3"]]></textFieldExpression>
    </textField>
    <textField isStretchWithOverflow="true">
    <reportElement x="300" y="35" width="74" height="35"/>
    <box>
    <topPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    <leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    <bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    <rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
    </box>
    <textElement/>
    <textFieldExpression><![CDATA["Val4"]]></textFieldExpression>
    </textField>
    </cellContents>
    </crosstabHeaderCell>

     

×
×
  • Create New...