Hello
You can achieve this through css also.
Add below css to your css file in theme folder.
Add given css name in your list view property.
Select the color as per your choice.
.selected-item-style .mx-listview-item.selected
{ background-color: blue !important;
}
Hello,
Check this widget, to highlight the record based on the selection : https://marketplace.mendix.com/link/component/212384
Hope it helps!