Loading...

If statement for qListView

If statement for qListView

  • This topic is empty.
Viewing 7 reply threads
  • Author
    Posts
    • #4782
      Anonymous
      Anonymous
      Participant

      Hi

      Have a look at the Grid AppearanceColor Appearance property. This allows you to choose the row color based on a value or range of values for an identified Display Field.

    • #6814
      Anonymous
      Anonymous
      Participant

      Hello,

         Please take a look at the below screenshots. This is what you're looking for.

      I color the grid based on the field Title associating its values with a color.

      If you consider that you got the expected answer please mark the post as Answered.

      Thanks,

      GridConfiguration.png

      GridResult.png

    • #6816
      Anonymous
      Anonymous
      Participant

      Hi Jamie,

         You can use field value range to achieve your goals. There is no such a Less Than operator but you can translate in a range of values.

      I hope this helps.

    • #6815
      Anonymous
      Anonymous
      Participant

      , (without hijacking this thread) is it possible to use different operators than simply "=" to color the grid. For example, if i wanted to use "Less Than or Equal to [Today]" .

      Thanks!

    • #6817
      Anonymous
      Anonymous
      Participant

      thanks

    • #6818
      Anonymous
      Anonymous
      Participant

      Hi JAmie,

         Would you mind to mark the question as answered?

      Thaks,

    • #3937
      Anonymous
      Anonymous
      Participant

      To all,

      Is there a way to use an if statement of some sort to catch a particular value in a common and if true change the appearance of the row.  For example:

      For each in column1

      <!–this is what i want –>

      if value != ” ”

        row background-color: blue;

      end if

      <!–end–>

      next

      I know there isn’t a loop function in the options, but that is the logic I was shooting for. I was looking at CAML filtering, but the Help section is just so short and not very helpful.  

      Thanks in advance

    • #6819
      Anonymous
      Anonymous
      Participant

      doesnt seem like i can as i am not the OP

Viewing 7 reply threads

You must be logged in to reply to this topic.