Jump to content

abhishek_sh

Members
  • Posts

    8
  • Joined

  • Last visited

abhishek_sh's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. Thanx for the answer,but stretchWhenOverFlow property is of textfield.It wouldn't have any effect on column's values.
  2. Suppose there are many values in one column,that will be stretched in another column.I want whole data to be restricted in one column only,may be on next page but not in another column.
  3. Hi all, Suppose there are 2 columns and data is populated dynamically in first column. Is it possible to restrict one column's data to only that column.What I know is that 1)If printOrder is "vertical",Columns are filled from top to bottom and then left to right. 2)If print order is "horizontal",Columns are filled from left to right and then top to bottom. But I want to restrict one column's entry to only that column. Somebody pls help
  4. <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="learn1" language="groovy" columnCount="2" printOrder="Horizontal" pageWidth="1024" pageHeight="768" orientation="Landscape" columnWidth="510" columnSpacing="3" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0"> <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA["C:\\Documents and Settings\\abhishek_sh\\Desktop\\"]]></defaultValueExpression> </parameter> <queryString> <![CDATA[]]> </queryString> <field name="x" class="java.lang.Integer"> <fieldDescription><![CDATA[x]]></fieldDescription> </field> <field name="y" class="java.lang.Integer"> <fieldDescription><![CDATA[y]]></fieldDescription> </field> <background> <band splitType="Stretch"/> </background> <title> <band height="79" splitType="Stretch"> <staticText> <reportElement x="481" y="30" width="100" height="20"/> <textElement> <font size="14" isBold="true"/> </textElement> <text><![CDATA[sample Report]]></text> </staticText> </band> </title> <pageHeader> <band height="35" splitType="Stretch"> <staticText> <reportElement x="446" y="0" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[Page 1]]></text> </staticText> </band> </pageHeader> <columnHeader> <band height="100" splitType="Prevent"/> </columnHeader> <detail> <band height="200" splitType="Stretch"> <elementGroup/> <textField> <reportElement x="40" y="14" width="100" height="20"/> <textElement/> <textFieldExpression class="java.lang.Integer"><![CDATA[$F{x}]]></textFieldExpression> </textField> <textField> <reportElement x="200" y="14" width="100" height="20"/> <textElement/> <textFieldExpression class="java.lang.Integer"><![CDATA[$F{y}]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="45" splitType="Stretch"/> </columnFooter> <pageFooter> <band height="54" splitType="Stretch"> <textField> <reportElement x="907" y="13" width="100" height="20"/> <textElement/> <textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> </textField> <textField pattern="MMMMM dd, yyyy"> <reportElement x="74" y="23" width="100" height="20"/> <textElement/> <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> </textField> </band> </pageFooter> <summary> <band height="42" splitType="Stretch"/> </summary> </jasperReport>
  5. Is it possible to put chart in one column,having 2 columns overall.Genarally if 2 columns are created,whatever printOrder(Horizontaal/Vertical) is selected,data does not confine to one column and fills the column which is for chart only.Can I restrict filling of one column to only column
×
×
  • Create New...