FluentUI detailsList with groups - is there a way to prevent the group row from being selected

Viewed 921
1 Answers

A quick workaround would be doing it by CSS:

if an element has ms-GroupHeader is-selected classes, means it is a gruop header and also is selected, so you change set the background-color.

You probably can pass a className to group components like this

Related