pnp / List-Formatting

List Formatting Samples for use in SharePoint and Microsoft Lists
https://pnp.github.io/List-Formatting/
MIT License
1.76k stars 844 forks source link

The group title cannot clicked into the filtered view. #679

Closed sujadocs closed 11 months ago

sujadocs commented 1 year ago

Sample (which sample are you having trouble with)

Path : view-samples/group-header-remove-column-name https://github.com/pnp/List-Formatting/tree/master/view-samples/group-header-remove-column-name

What Should Happen

The group header/value should be clickable, this attaches the filter field, type and value to the url thus providing a filtered view. If there are 2 levels of grouping, the second level filtering information gets amended to the first level filtering and provides 2 level filtered view.

What Actually Happens

The group title value is NOT clickable after removing the field name from the list view using this JSON formatting.

sujadocs commented 1 year ago

Amended the following

"customRowAction": { "action": "defaultClick" }

tecchan1107 commented 11 months ago

Thank you for submitting the issue. And sorry for the delay.

I couldn't determine if this sample was intentionally made unclickable or if it was a bug. Therefore, I have tried to put both clickable and non-clickable.