Grouping & Sorting with different fields at same time

Open
#3,470 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start with the TreeDataGrid behavior described in the issue: grouping by Country while sorting by City in descending order. Inspect the repository's existing grouping and sorting entry points and determine whether both operations can be configured together. Done means documenting or demonstrating a working solution, or clearly identifying the missing capability.

Written by the indexing model from the issue text.

Description

How can we integrate grouping and sorting with different columns (fields) in a same grid.

Suppose that
I have two fields: Country & City

I want to group by Country, and sort by City

and Sorting should be done in DESC order by default.

Please let me know any possible solution with TreeDataGrid.

Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
1d 10h
Merged PRs (30d)
30

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Comcast/react-data-grid

All issues in Comcast/react-data-grid

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.