Condition

A column can have conditions.

Attributes

test

a logical test.

style

format a column depending on the result of the test.

hideColumn

hide a column depending on the result of the test.

Example

<moxydoc:column type="PERCENT" metric="ACTUAL" title="Variance %"  period="MONTH">

              <moxydoc:condition test="value &lt; 0 and lineType='DEBIT'" style="color:#EE1C25;" />

</moxydoc:column>

<moxydoc:column id="month3" type="MONEY" metric="AMOUNTDUE" title="[ReportDate-2]"         period="MONTH" addPeriods="-2">

          <moxydoc:condition test="comparePeriods = '1' or comparePeriods = '2'" hideColumn="true" />

</moxydoc:column>


Click to see Comments

Help comments powered by Disqus