Forum Discussion

AngelaIp's avatar
AngelaIp
Ideator I
6 years ago
Solved

How to color grid cells according to properties that are hidden in grid?

Hi Community, I hope somebody can give me some hints to solve the following use case. I use an onAfterGet Server Method in ItemType Part that colors certain columns like ‘state’. Now I want to ad...
  • Hi Angela,

    I'm not sure there's a built-in way to configure adding two properties to the select statement without exposing them on the main grid. As a programmatic approach, you could use an onBeforeGet server method to check the select attribute for the two properties you need and add them to the select attribute if they're not found. This should ensure that the properties are available in your onAfterGet.

    Chris