angular / angular/components

[Sort] Adjust sort interface to handle swapping out MatSort

Open
#7,226 38 comments 101 reactions 0 assignees View on GitHub
area: material/sort feature P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### Bug, feature request, or proposal:
It would be nice to be able to sort on multiple columns.

#### What is the expected behavior?
The user can sort the grid with multiple columns at a time

#### What is the current behavior?
The user can sort the grid with a single column

#### What is the use-case or motivation for changing an existing behavior?
The app I'm working on has a requirement for multi-column sort. I've used other, non-angular, grids in the past and they have supported this.

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.3.6
Material 2.0.0-beta.10
Typescript 2.5.2

Contributor guide

Open the contributing guide

Research direction

Start by reading the sort interface and MatSort behavior referenced in the title, then trace how the current single-column sort is exposed to the grid. Done means the grid can sort by multiple columns at once while preserving a clear, documented interface and behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.