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

P.M

Members
  • Posts

    3
  • Joined

  • Last visited

P.M'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. Hi danoldenkamp, Thank you for response, I have tried what you have suggested, however it is not working either.
  2. Hi, I am new in jasper and I am asking for a good way of changing the background of the column groups (including the value_measure column) based on a value from another column group. So I have created 3 conditional styles like this: <style name="Colouring Style" mode="Transparent" backcolor="#FFFFFF"> <conditionalStyle> <conditionExpression><![CDATA[$V{Component Group} == "Soil Summary Data"]]></conditionExpression> <style backcolor="#A7DB67" markup="styled"/> </conditionalStyle> <conditionalStyle> <conditionExpression><![CDATA[$V{Component Group} == "Supplementary Analyses"]]></conditionExpression> <style backcolor="#91B7ED"/> </conditionalStyle> <conditionalStyle> <conditionExpression><![CDATA[$V{Component Group} == "Recommendations"]]></conditionExpression> <style backcolor="#FAFC53"/> </conditionalStyle> </style> and I have further applied them to the component_group column like this: <textField isBlankWhenNull="true"> <reportElement style="Colouring Style" mode="Opaque" x="0" y="0" width="97" height="15" isPrintInFirstWholeBand="true" uuid="1566d388-bea1-4bd0-afb1-435d1bbcc013"/> <textElement textAlignment="Center" verticalAlignment="Top" markup="styled"> <font fontName="Calibri" size="11" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$V{Component Group}]]></textFieldExpression> </textField> Now I have checked the transparent checkbox on style and unchecked transparent property on the crosstab column group I have used but still it seems like the style is not working. I have tried to use the ${COLUMN_COUNT} variable but it still does not apply the backcolor to the crosstab. Can anyone help me with this? Another thing is I would like to change the colour of coloumn groups below the component_group column group (I have attached an image file for clarification). Please help, you are free to ask for further clarifications if my question is not clear enough. Thank you in advance.
  3. I also had a similar problem. I had to uncheck the data presort order box and also set all my row groups and column groups (except of value_measure) sorting order to none
×
×
  • Create New...