-
-
Notifications
You must be signed in to change notification settings - Fork 619
Grouping columns #74
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
Grouping columns #74
Conversation
要考虑这种情况吗,不知道怎么处理。 |
可以不考虑。 |
发现 fixed column 也不好处理:
这种情况下如果“姓名”是固定的,左边的 fixed table 的头部生成出来就是这样的: <thead>
<tr>
<th rowspan="2">姓名</th>
</tr>
</thead> 但是因为只有一行,所以 <thead>
<tr>
<th rowspan="2">姓名</th>
<th>.</th>
</tr>
<tr>
<th>.</th>
</tr>
</thead> 但是好像没好的办法把这补的部分隐藏起来,把它设为 看了下 ag-grid,它的表格是用 div 来实现的,所以比较容易处理这种情况。 |
如果我没理解错,应该可以通过设置 <thead>
<tr>
<th height={100}>姓名</th>
</tr>
</thead> |
@benjycui 嗯,用 height 搞定了,我的做法是给 |
columnsPageSize 已经 deprecated 了还要去支持它吗?不知道打算什么时候移除。 |
Changes Unknown when pulling 5b23cc4 on yesmeck:grouping-columns into * on react-component:master*. |
太给力了!:+1: 我这周晚点时候看下 |
Changes Unknown when pulling 67e58b7 on yesmeck:grouping-columns into * on react-component:master*. |
Changes Unknown when pulling 0191cba on yesmeck:grouping-columns into * on react-component:master*. |
ant-design 那边要 PR 到 master 吗? |
先不用,等这边重构一下。 |
#73
实现了基本的表头合并,还需要看看一些特殊情况的处理。