5 Replies Latest reply: Sep 10, 2015 2:24 AM by Urs Blapp RSS

    Alternate colour in table based on value

    Urs Blapp

      I would like to alternate the colours in a table based on the first column which contains a number as these lines belong logically together.

       

      Pty

      Col2

      Col3

      2

       

       

      2

       

       

      3

       

       

      9

       

       

      9

       

       

      12

       

       

      12

       

       

      12

       

       

      33

       

       

       

      The background colour should be alternating between two colours to indicate which rows belong together.

      So even/odd row is not working. Checking, if the previous row has another value than the current value using Above(field,1) does not work, because I need to toggle between two colours and cannot take a color based on the check.

      Any idea how I can solve this problem?

      Thanks