alimahran666 Posted September 29, 2019 Share Posted September 29, 2019 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 42 53 6but i need data to sort from right to left in column as this 4 15 2 6 3 Link to comment Share on other sites More sharing options...
C-Box Posted October 2, 2019 Share Posted October 2, 2019 Have you already tried to set the Report-Property "ColumnDirection" to "RightToLeft" instead of the default one "LeftToRight" ?hth+ regardsC-Box Link to comment Share on other sites More sharing options...
alimahran666 Posted October 3, 2019 Author Share Posted October 3, 2019 not found proberty ColumnDirection in detail bound and the report haven,t accept this probertycan u tell which place can add this proberty Link to comment Share on other sites More sharing options...
alimahran666 Posted October 3, 2019 Author Share Posted October 3, 2019 1 Link to comment Share on other sites More sharing options...
C-Box Posted October 3, 2019 Share Posted October 3, 2019 Well I wrote at "REPORT - LEVEL" not at band level... so see here: http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/design/JasperDesign.html#PROPERTY_COLUMN_DIRECTIONhth + regardsC-Box Link to comment Share on other sites More sharing options...
alimahran666 Posted October 5, 2019 Author Share Posted October 5, 2019 thank you more for ur answerbu can u tell me how can but rowDirection to RTLas column Direction RTL Link to comment Share on other sites More sharing options...
C-Box Posted October 7, 2019 Share Posted October 7, 2019 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?hthC-Box Link to comment Share on other sites More sharing options...
alimahran666 Posted October 8, 2019 Author Share Posted October 8, 2019 thank u very very much my problem is solved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now