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
是否有可能为Table组件增加属性作用于额外展开行 #6896
Comments
It will be better to write your issue/comment in English, so more people can understand you. |
你这个看起来就是合并列。 |
@yesmeck 合并列的话第一写起来麻烦,第二这是一行中数据要拆成两行来显示,上面一行合并列,就是非常麻烦,如果能用展开行来做的话会简便很多 |
建议使用合并列来做。 |
<Table
columns={columns}
dataSource={data}
rowRender={({ record, index, Row }) => {
return (
<Fragment>
<tr>
<td colSpan="4">No: 12345</td>
</tr>
<Row />
</Fragment>
);
}}
/> |
用自定义 |
What problem does this feature solve?
Table组件的expandedRowRender属性用来显示额外的展开行来描诉额外信息,此时是否可以多个属性来隐藏最前面的点击展开的那个 号,然后再多个属性来控制额外信息的位置(在行的上面或者下面)
What does the proposed API look like?
expandedPosition="top"和 showExpanedOperation={false}属性来控制如下图展示
The text was updated successfully, but these errors were encountered: