Forum Discussion
harishpatil
Aug 12, 2025Brass Contributor
How to highlight left navigation when we select the list view
Hi All, How to highlight left navigation when we select the list view? We have created list and the same list view URL we have added in left navigation links. When we select the view from the...
PankajBadoni
Aug 12, 2025Iron Contributor
It doesn't seem possible out-of-the-box (OOTB) because SharePoint navigation highlights the menu item that matches the URL in the browser's address bar. When you switch views within a list, the URL only updates the view ID (e.g., ?viewid=xyz) without changing the base path. As a result, the navigation doesn't recognize it as a different page and doesn't update the highlight accordingly.
You can consider using an SPFx extension to detect the active view and dynamically apply CSS for navigation highlighting based on the current view.
- harishpatilAug 18, 2025Brass Contributor
Hi Pankaj and All,
But this is working on SharePoint 2013. This means it is working on SharePoint 2013 but not SharePoint Online.
Is here any way achieve this SPFX.
Thanks,
Harish Patil