Support adding/removing table headers and footers
オープン
area: cdk/table
feature
G
P3
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
Currently `CdkTable` doesn't offer a way to add/remove headers and footers dynamically. Users can hide and show them with CSS, but they always remain in the DOM.
I think we could support this in one of two ways:
1. Add some code to the content query for defs to watch for changes and re-render
2. Support doing this with `when` (or maybe a similar API)
コントリビューションガイド
調査の方向性
まず CdkTable の実装、特に header と footer の定義に対する content query を読みます。提案されているアプローチを比較してください。定義の変更を監視して再レンダリングする方法と、when または同様の API を通じて動的な変更をサポートする方法です。ユーザーがテーブルの header と footer を動的に追加または削除でき、それに対応する要素が DOM に残らなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100