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

venucbv

Members
  • Posts

    2
  • Joined

  • Last visited

venucbv'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. thangalin Wrote: Try conditional styles. I want 4 different colors to fill a textbox background depending on the inputs. please give a demo , how to use the conditional styles ? Post Edited by venucbv at 05/12/2010 04:52
  2. Hi all, I am new in this jasper reports, i have to change my textfield backgound color dynamically, pls help me. I am using the following code, but its not working..... <textField> <reportElement mode="Opaque" x="60" y="0" width="150" height="15"/> <textElement/> <textFieldExpression class="java.lang.String"> <![CDATA[$F{id}.equals("0052162") ? "<style backcolor='red'>"+ $F{id}+"</style>" : $F{id}]]></textFieldExpression> </textField>
×
×
  • Create New...