• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Conditional text coloring is broken

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Conditional text coloring is broken

    I have an app that contains only a grid widget. No behaviors, no app variables, no backend RPGLE programs or JavaScript. On that grid widget is a field that I would like to be colored red if a certain condition is met. When I add a color condition to that field in the NAB widget editor, the app ends up coloring that field on every record, regardless of the condition.

    Here is my test app, so that the bug can be reproduced:

    Data source:
    DataSource.jpg

    Widget Columns in NAB Widget Editor:
    widget.jpg

    Color condition in NAB Widget Editor:
    condition.jpg

    App Screenshot:
    appScreenshot.jpg


    In this example, the 2 and the 3 should not be red.




  • #2
    Based on your screenshots, it looks like you have a default color applied and then your one rule (MYFIELD = '1'). You would want to remove your default color.

    Comment


    • #3
      That was it. Thank you.

      Comment

      Working...
      X