<ProTable
columns={columns}
dataSource={dataSource}
rowKey="key"
search={{
span: 6,
autoComplete: "off",
labelWidth: 100
}}
dateFormatter="string"
/>
设置labelWidth
ProTable 高级配置指南
本文介绍 ProTable 的高级配置方法,包括如何设置 columns、dataSource 和 rowKey 等属性,以及如何调整搜索组件的样式如 labelWidth,并提供 dateFormatter 的使用方式。
<ProTable
columns={columns}
dataSource={dataSource}
rowKey="key"
search={{
span: 6,
autoComplete: "off",
labelWidth: 100
}}
dateFormatter="string"
/>
设置labelWidth

被折叠的 条评论
为什么被折叠?