Skip to content

fix: Grid property changed to internal in ColumnBase #2340

@liaan-mynhardt

Description

@liaan-mynhardt

🐛 Bug Report

When creating a custom column type for the FluentDataGrid you need access to the Grid property, this has been changed in #2298

💻 Repro or Code Sample

Create a CustomColumn class that inherits ColumnBase. Try and access the Grid property from within CustomColumn.

🤔 Expected Behavior

You should be allowed to access the Grid property from the base class.

😯 Current Behavior

Grid property is hidden

💁 Possible Solution

Pass Grid down to the CustomColumn class via a parameter

🔦 Context

We have created a few custom columns to change the look of the default columns eg. we prefer using chevrons instead of arrows for sorting. Our custom column types have broken since the latest release.

🌍 Your Environment

  • .NET 8.0.6 and Fluent UI Blazor library Version 4.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions