microsoft / microsoft/rayfin

DataGrid filter dropdown ignores ColumnDef format metadata

Open
#25 0 comments 0 reactions 1 assignee View on GitHub

@seanwat-msft is already working on this.

Since Jun 11, 2026.

bug issue-mapped triaged
Dominant language
No language data
Stars
610
Forks
62
Avg merge
1d 23h
Merged PRs (30d)
3

Description

What happened?

Summary
In Fabric DataGrid, column formatting metadata is applied to cell rendering but not to filter dropdown item labels.

Expected behavior
If a column has format metadata (for example $0,0.00), both table cells and filter dropdown values should display with that format.

Actual behavior

Cells display formatted values correctly.
Filter dropdown values show raw/stringified values (unformatted).

Image Image
Steps to reproduce

Create a DataTable with a numeric column and set ColumnDef.format to $0,0.00.
Render the table with DataGrid data={dataTable}.
Open the filter dropdown for that numeric column.
Compare cell display vs filter item labels.

Environment

Package: @microsoft/fabric-datagrid (1.0.0)
Package: @microsoft/fabric-visuals-core (1.0.0)
App type: Rayfin/Fabric app using DataTable input

Logs or screenshots

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.