angular / angular/components

feat(table): Support drag and drop of rows and columns in same table

オープン
#22,287 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る
area: cdk/drag-drop feature needs investigation P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
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 のテーブルについて言及し、行と列のドラッグ&ドロップを組み合わせられるかを尋ねていますが、ファイルやテストは指定されていません。まずテーブルとドラッグ&ドロップのエントリポイントを確認し、その後、1つのテーブルで両方の軸を機能させられるかを判断してください。完了条件は、文書化されテストされたアプローチ、または推奨される代替案を伴う明確な制限です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。