2006 IR Open Discussion Posted August 17, 2006 Share Posted August 17, 2006 By: Kees Kuip - keeskuip Alignment of column with string and number. 2003-03-12 04:09 Hello, I have a column with values that could be a String or could be a Number. I would like the alignment to be left-adjusted if it is a String and right-adjusted if it is a Number. Is this possible ? Kees. By: Kees Kuip - keeskuip RE: Alignment of column with string and numbe 2003-03-12 04:43 It would be nice to have the following : An object JRFieldValue which could be returned from the method getFieldValue() (from interface JRDataSource). This object holds the value but also properties like alignment, foregroundcolor, backgroundcolor etc. Kees. By: Teodor Danciu - teodord RE: Alignment of column with string and number. 2003-03-13 13:06 Hi, The only solution (at least for the moment) is to switch between two different text fields using their <printWhenExpression> like explained here: http://jasperreports.sourceforge.net/tips.tricks.html#formatting I hope this helps. Teodor 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