A way to customize `priority` number component on multi-sort

This issue has been tracked since 2022-08-28.

Use case

When you customize sort icon through <DataGridDefaultComponentsProvider />, you might also want to customize/access to priority number shown up in multi-sort

For example

  • you want to give some color that match to custom icon
  • you want to give space between custom sort icon and priority number only when the priority number is shown

You can kind of see the problems here

Proposed solution

maybe provide a prop sortPriority just like the way sortIcon does ?

amanmahajan7 wrote this answer on 2022-09-05

I think this makes sense. We can add sortPriority renderer

More Details About Repo
Owner Name adazzle
Repo Name react-data-grid
Full Name adazzle/react-data-grid
Language TypeScript
Created Date 2015-03-06
Updated Date 2023-03-23
Star Count 5922
Watcher Count 129
Fork Count 2072
Issue Count 161

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date