youtube image
From YouTube: Extend the PnP React SPFx ListView control with a contextual menu

Description

In this 7-minute developer-focused demo, Markus Möller’s solution enables users to perform actions on selected list items. Add a context menu to the list item like it’s available in the default modern experience of lists and like the “edit control block” in the classic experience. Does not physically insert a column inside the SharePoint list view. Uses the ECB (Edit Control Block) control custom render option. Review core code and solution alternatives.

This PnP Community demo is taken from the Viva Connections & SharePoint Framework Bi-weekly sync call recorded on January 26, 2023.

Demo Presenter
• Markus Möller (Avanade) | @Moeller2_0

Supporting materials
• Article - Extend PnP SharePoint Framework React ListView Control with a context menu | https://mmsharepoint.wordpress.com/2018/03/11/extend-pnp-sharepoint-framework-react-listview-control-with-a-context-menu/
• Sample - Employee ListView Contextual Menu | https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-listview-context-ecb
• Documentation - ListView: Add a contextual menu | https://pnp.github.io/sp-dev-fx-controls-react/controls/ListView.ContextualMenu/

Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/m365/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/m365/videos
• Microsoft 365 Platform Community - http://aka.ms/m365/community

👋 Join to our weekly Microsoft 365 & Power Platform Community calls to learn more. These are PUBLIC calls for you to get access on the latest details from Microsoft and to see awesome demos from community on these technologies - Download recurrent invites from https://aka.ms/community/calls