Jump to content

Compare two blocks and highlight the value in second block


Recommended Posts

Hi,

 

I have two blocks and I want to do comparison and hight the second block to green if the value of second block is greater and highlight to red if the value of the second block is smaller.

 

image.png.67632153fee5dcf4cb19a74259d600d0.png

Now 16 is greater it should be green and if it was 7 then it should be red.

 

@futurist and anyone else can you help with this.

Link to comment
Share on other sites

  • 2 weeks later...

Hello @Harpreet,

I am afraid there is no straightforward way to write a code for this DataPage since I can see the mix of elements used on it:

Table fields and Virtual fields that are set as Display Only fields and editable fields.

We need to reference them by using different syntaxes.

I can see the only option:  we need to know which exact blocks need to be compared. 

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...