Skip to content

feat: add OnSortChanged to/in Datagrid #4524

Closed

Description

@well0549

🙋 Feature Request

Fire an event whenever the sort is changed of a grid .

🤔 Expected Behavior

fire the event whenever the sort of a grid changes

😯 Current Behavior

no such event

💁 Possible Solution

Raise event

🔦 Context

Whenever the sort changes, the (highlighted selected row could be on anather page, i want to clear the selection when the sort changes

💻 Examples

Activity

  1. added
    triage
    on Feb 13, 2026
  2. added
    feature
    status:needs-investigation
    and removed
    triage
    on Feb 13, 2026
  3. MarvinKlein1508 commented on Feb 16, 2026

    @MarvinKlein1508
    Collaborator

    well0549 you can use RefreshItems. This method will be triggered whenever you change sorting. See: https://www.fluentui-blazor.net/datagrid-remote-data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurestatus:needs-investigation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions