adopted-ember-addons / adopted-ember-addons/ember-light-table

colspan and rowspan implementation

未關閉
#569 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
311
分支
130
PR 合併指標
30 天內沒有已合併 PR

描述

I'm wondering if it would be possible to implement rowspan and colspan with a little effort. First idea is not to create cells missing a value by default. Then it should be made possible to set cell attributes. For this the rows could get an array with attributes for every cell, which then would be proxied to the cell. Or to handle it similar to rowOptions, but per cell. But what about occlusion rendering? As far as I understand, if a cell with a rowspan attribute would get out of view, then the rest of the cells which are affected by the rowspan, would appear in the wrong column, right? Please share your minds on it, and workarounds or implementation ideas are very appreciated.

貢獻指南

開啟貢獻指南

研究方向

No files, tests, or entry points are named. Start by examining the table's row and cell rendering, including occlusion rendering, and determine how rowspan, colspan, and per-cell attributes should be represented without creating missing cells. Done means the behavior and implementation scope are defined, including correct column alignment when affected cells leave the viewport.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
frontend
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
20/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。