We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
那些不需要展开的,前面的 加 号依然存在,特殊的一行, 号不显示
rowClassName={this.setRowClassName} setRowClassName = (record) => { if(!record.orderCount){ return 'expandSpan' } } .expandSpan{ span.ant-table-row-expand-icon.ant-table-row-collapsed{ position: absolute; left: -900px; } } 这是一种实现方式,但table应该通过一个新的属性,通过绑定的id,去判断item的数据项是否是否显示 加 号 如:isRowKeys=[ 需要展示 加 号的ID ]
The text was updated successfully, but these errors were encountered:
🤖 By issues-similarity-analysis
Sorry, something went wrong.
https://ant.design/components/table-cn#components-table-demo-expand
rowExpandable
行可扩展 可是antd版本是3.0
No branches or pull requests
What problem does this feature solve?
那些不需要展开的,前面的 加 号依然存在,特殊的一行, 号不显示
What does the proposed API look like?
rowClassName={this.setRowClassName}
setRowClassName = (record) => {
if(!record.orderCount){
return 'expandSpan'
}
}
.expandSpan{
span.ant-table-row-expand-icon.ant-table-row-collapsed{
position: absolute;
left: -900px;
}
}
这是一种实现方式,但table应该通过一个新的属性,通过绑定的id,去判断item的数据项是否是否显示 加 号
如:isRowKeys=[ 需要展示 加 号的ID ]
The text was updated successfully, but these errors were encountered: