Skip to content

[Feature Request]: Default sort column and direction for datatable #11580

Open

Description

Summary

Allow for passing in the default sort column and direction to sort the data.

Justification

Currently the only way to do it is calling the sortBy function in the render function which isn't ideal and causes unnecessary re-renders.

Desired UX and success metrics

The default sort column and direction passed in are reflected in the headers and data being sorted correctly.

Required functionality

No response

Specific timeline issues / requests

No response

Available extra resources

I can implement it if needed

Code of Conduct

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Later 🧊
    • Status

      📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions