angular / angular/components

[Sort] Adjust sort interface to handle swapping out MatSort

未关闭
#7,226 38 条评论 101 个 reaction 已指派 0 人 在 GitHub 查看
area: material/sort feature P3
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

#### 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

贡献指南

打开贡献指南

调研方向

首先阅读标题中引用的排序接口和 MatSort 行为,然后追踪当前的单列排序是如何向 grid 暴露的。完成的标准是 grid 可以同时按多个列排序,同时保持清晰且有文档说明的接口和行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。