Skip to content

Grouped List always renders expanded. #28521

Discussion options

You must be logged in to vote

Yes, you can make all the groups collapsed by default by settings isCollapsed to true for each IGroup.

Here's a Codepen example: https://codepen.io/seanms/pen/YzdqZMe?editors=0010

There's a lot going on in the Implementation section of GroupedList so it's easy to miss but for more reference check out the implementation for IGroup: https://developer.microsoft.com/en-us/fluentui#/controls/web/groupedlist#implementation

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@billgewrgoulas
Comment options

Answer selected by khmakoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants