Back to column formats
Column formattingSharePoint Online

Bulleted and Numbered List

This sample demonstrates displaying Multi-Select Choice column values like a bulleted and numbered list.

Bulleted and Numbered List formatting preview
Sample preview · View original image

Copy. Apply. Make it yours.

Get this format

2 definitions

Review the requirements below, then paste this JSON into the matching formatting panel. Show me where.

Use your list's internal column names and replace any tenant-specific URLs or flow IDs. Formatting is presentation, not a way to secure data.

Column formatting
Download JSON
{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "div",
  "children": [
    {
      "elmType": "div",
      "style": {
        "display": "flex",
        "flex-direction": "column",
        "justify-content": "flex-start",
        "flex-wrap": "wrap",
        "margin": "5px 0px"
      },
      "children": [
        {
          "elmType": "div",
          "forEach": "choiceIterator in @currentField",
          "style": {
            "margin": "3px 0px",
            "display": "flex",
            "flex-direction": "row",
            "align-items": "center"
          },
          "children": [
            {
              "elmType": "div",
              "style": {
                "margin-right": "5px"
              },
              "attributes": {
                "iconName": "StatusCircleInner"
              }
            },
            {
              "elmType": "div",
              "txtContent": "[$choiceIterator]"
            }
          ]
        }
      ]
    }
  ]
}

From the contributor

How to use this sample

Summary

This sample demonstrates displaying Multi-Select Choice column values like a bulleted and numbered list.

screenshot of the sample

The bullet list symbols use Fluent UI Icons, which can be changed to stars, hearts, etc. by changing the value of the iconName property.

screenshot of the bulleted list sample

View requirements

This format can be applied to a Multi-Select Choice column.

Sample

Solution Author(s)
multi-choice-list.json Tetsuya Kawahara
multi-choice-numbered-list.json Tetsuya Kawahara

Version history

Version Date Comments
1.0 January 14, 2023 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.