Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Row is not getting highlighted in ListView



In 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. 

Error Messages

Not applicable

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. 

Root Cause

Custom styles are not supported in embedded lisviews. The style sheet is only included if the listview is executed in its own window.


This 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.
Suggest Edit

Published December 26, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us