youtube image
From YouTube: Microsoft Lists formatting backgrounds and borders using new isSelected placeholder

Description

In this 22-minute developer-focused demo, Chris Kent shares isSelected and other recently released list formatting capabilities. isSelected is used with classes, found on formatting samples site, for formatting (backgrounds, borders) to selected row or changes an image in column of selected row. Classes used ms-bgColor-* applies a background color, sp-field-border* sets border-width and border-style. Two Bonus on-the-fly demos show new “customRowAction” to expose a context menu and new expression called “split” for formatting text and borders around text. This PnP Community demo is taken from the Microsoft 365 & Power Platform Development Community call recorded on August 4, 2022.

Demo Presenter
• Chris Kent (DMI) | @theChrisKent

Supporting materials
• List Formatting Samples - Samples by Class: ms-bgColor-* | https://pnp.github.io/List-Formatting/groupings/classes/ms-bgColor/
• List Formatting Samples - Samples by Class: sp-field-border* | https://pnp.github.io/List-Formatting/groupings/classes/sp-field-border/
• Documentation - Use column formatting to customize SharePoint | aka.ms/spdev-column-formatting
• Icons - Flicon.io | https://flicon.io/
• Repo - Farrier Community-tooling | https://github.com/pnp/community-tooling
• Samples - SharePoint List Formatting Samples | https://github.com/pnp/List-Formatting

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