when i split detail bound to two columns and print order is vertical the data can show this sort data from left to right as
1 4
2 5
3 6
but i need data to sort from right to left in column as this
4 1
5 2
6 3
6 Answers:
Well I wrote at "REPORT - LEVEL" not at band level... so see here:
http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/des...
hth + regards
C-Box
Well I just tried it out... works fine:
<?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="RightToLeft" language="groovy" columnCount="2" columnDirection="RTL" pageWidth="595" pageHeight="842" columnWidth="277" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="f6df8c7d-9bf5-4eed-9361-eb7e1f75d5e4">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="79" splitType="Stretch"/>
</title>
<pageHeader>
<band height="35" splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="61" splitType="Stretch"/>
</columnHeader>
<detail>
<band height="44" splitType="Stretch">
<textField>
<reportElement x="29" y="0" width="249" height="20" uuid="217a07db-0379-41f2-8724-fc68379da58f"/>
<textFieldExpression><![CDATA["RecordNumber: "+ $V{REPORT_COUNT}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="45" splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="54" splitType="Stretch"/>
</pageFooter>
<summary>
<band height="42" splitType="Stretch"/>
</summary>
</jasperReport>
Or is this not what you want?
hth
C-Box
1