You can use these column settings to define customized styles for cells in a column:
The Style Column setting provides the name of a definition in the dsecUIType-Custom.css (a program administrative object) to use for the cells in that column. For example, you could add this setting to the column: Style Column = ColumnBackGroundColor The dsecUIType-Custom.css file would include this definition: ColumnBackGroundColor { background-color : rgb(252, 186, 186); } All cells in that column would show with show with that background color. You can also use the Style Program (specifies a JPO) and Style Function (specifies the method within the JPO) settings to determine the style used to display individual cells in the column. The JPO:method accepts an object list and returns a stringlist of CSS specification styles for each object in the object list. Each cell could have a different style specification, and some cells could have no style defined. You can use the expand program (see Expand Objects using JPO for ENOVIA Objects) to include a styleRows value for each object map of the returned object list. The value for styleRows must be a CSS specification style. If a structure browser includes multiple methods for setting cell style, such as using both the Style Column setting on the column and a styleRows value in the object list, the structure browser uses this order of precedence:
In the above example, the styleRows cell style overrides the Style Column cell style. |