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

khare.siddharth28

Members
  • Posts

    2
  • Joined

  • Last visited

khare.siddharth28's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. have you compiled your jrxml file into jasper object. secondly why are u using this implementation of JasperRunManager.runReportToPdf when your Connection object is null, instead use a JREmptyDataSource.(possibly JasperEngine is trying to use Connection object to open a connection and getting a null pointer exception)
  2. 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...