Support Article
Skin Issue occurring on selecting a row in repeat grid
SA-7542
Summary
Developer has a User Interface holding a repeat grid and one of the columns of repeat grid has a section embedded within it. When developer tries to select any row of that repeat grid, there is a skin issue observed in the column which has a section embedded within it.
Error Messages
Not Applicable.
Steps to Reproduce
- Create a section (A) with repeat grid.
- Include another section (B) within any column of that grid.
- Run the section (A) and select any one of the row..
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. The skin rule is getting applied to every row of the grid but it is not able to render the behavior of embedded section.
Resolution
This issue is resolved through the following local change: A new code block has been added in UserWorkForm (HTML-Fragment), which overrides the skin behavior for the grid row selection.
<style>
DIV.gridDefault DIV.spreadsheet TR.evenRow TD.selected TD,DIV.gridDefault DIV.spreadsheet TR.oddRow TD.selected TD {
background-color: green !important; /*Please change the color to the actual selectedRow color.*/
}
</style>
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.