Row is not getting highlighted in ListView
SummaryIn Pega 7.1.8, user has a listview embedded in a section.
In "Format" tab of list view, user has included a style that gets picked up according to a When condition. When list view is run stand alone, the format gets picked up, however when user includes the list view in a section, the format does not get picked up.
Steps to Reproduce
1)Create a listview:
2)In "Format" tab of listview include a style for the rows of list view under a specific When condition.
Style used( The below style is user specific )
3) Run the list view. Observe that the list view picks up the format
4) Include the listview in the section. Run the section, the list view does not pick up the format.
Custom styles are not supported in embedded lisviews. The style sheet is only included if the listview is executed in its own window.
ResolutionThis could be made to work by moving the desired CSS to a stylesheet on the application skin or by reusing CSS classes already in the skin.
Also, List Views are deprecated in Pega 7.2, hence it is recommended to use Grid sourced by a Report Definition or a Data Page for any new UI.
Published December 12, 2016 - Updated December 26, 2016