Highlighting a row a different color

Highlighting a row a different color

Using PFC, when I select a row, it turns dark blue, often obscuring the data. Is there a way to change the color to something lighter?

The way to do this is to build your own custom highlighting. Add a rectangle to your row and set it to be behind all the other objects. Then add a dummy column to the result set called highlight. Add an expression to your rectangle for the color attribute that checks for a “Y” in the highlight column.

Then in powerscript you can add values to the column to highlight rows. You could also override the SelectRow function so that all the PFC code will still work.

See also  Comparing different methods of testing your Infrastructure-as-Code

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist