feat(table): Support drag and drop of rows and columns in same table
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
#### Feature Description
Users should be able to drag and drop one or more rows and also drag and drop one or more columns.
Currently it appears that a table can either support drag and drop for rows, or drag and drop for columns, but not both.
If it's not possible to do this with Angular Material's table, is there some other component Angular developers should use?
Do developers need to write a new drag-and-drop?
Even just a blog entry on the topic from Google/Angular that provides some hints/direction would be super-helpful.
#### Use Case
It's a basic need in a spreadsheet, and Angular Material's table would make a great spreadsheet, except for this missing support.
I'm not the first to ask for this. See for example https://stackoverflow.com/questions/66665859/is-it-possible-to-move-rows-and-columns-in-the-same-angular-material-table and https://stackoverflow.com/questions/65000227/angular-material-table-with-rearrange-rows-and-columns-option.
贡献指南
调研方向
Issue 提到了 Angular Material 的表格,并询问如何结合行和列的拖放功能,但没有指定任何文件或测试。首先检查表格和拖放的入口点,然后确定两个轴是否可以在同一个表格中工作。完成的标准是有一种经过文档记录和测试的方法,或者明确说明限制并给出推荐的替代方案。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100