Skip to content

InteractiveTable: Add sorting hooks from react-table #108370

@joeblubaugh

Description

@joeblubaugh

Why is this needed:

I would like to use InteractiveTable and synchronize the sorting state of the table with the URL of the page, like:
/uri?sortBy=service-name&order=asc

What would you like to be added:

InteractiveTable already has initialSortState, but to support synchronization with URL parameters, we need access to the other sorting hooks in the table like onSortingChange and sorting.State

Who is this feature for?

Plugin and Grafana developers sorting data client-side.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions