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

william.roberts

Members
  • Posts

    1
  • Joined

  • Last visited

william.roberts'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. I'm working on a Jasper report and currently, I use the zebra style for my table detail cell which alternates row color for every other row <style name="Zebra" mode="Opaque"><conditionalStyle><conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 1]]></conditionExpression><style backcolor="#EFEFEF"/></conditionalStyle></style>...<jr:detailCell style="Zebra" height="49" rowSpan="1">...But I want to change this rule so that the color of the row is determined by a value in my table row. So if the JSONArray I use in the table is named CLIENT_DATA and each JSONObject in my CLIENT_DATA has a string field called ROW_COLOR, how do I set table row color based on my string value?
×
×
  • Create New...