-
-
Notifications
You must be signed in to change notification settings - Fork 618
feat: Table summary support fixed column #463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/react-component/table/l11zn5amj |
Codecov Report
@@ Coverage Diff @@
## master #463 +/- ##
=======================================
Coverage 99.69% 99.69%
=======================================
Files 21 23 +2
Lines 652 661 +9
Branches 185 186 +1
=======================================
+ Hits 650 659 +9
Misses 2 2
Continue to review full report at Codecov.
|
还是上了纯数据格式?原来的 tr td 还推荐不? |
和固定列有啥关系? |
数据形式用于数组的 index 对应到 columns 的 index。原本的 jsx 看起来更直观,是共存的。不过现在想想似乎还有其他更好的形式。我先 hold 住它。再搞搞。 |
都上 |
SummaryCell 和 Cell 会有什么功能上的区别么? |
|
|
如果希望和内部的 Row/Cell 做区分,这样如何?
比起 tr 和 SummaryCell 混用看起来舒服一些。 |
SummaryRow 我觉得 OK 的。这样还能额外添加 className 做样式处理。那就: |
done. |
summary
新增一种数据格式,用于支持固定列的展示:preview: https://table-git-fixed.react-component.now.sh/iframe.html?id=rc-table--fixedcolumns
原: