mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
Merge pull request #455 from ant-design/feature-delStyleAlign
del align
This commit is contained in:
commit
483446b28f
@ -34,7 +34,6 @@ const columns = [{
|
||||
return {
|
||||
children: <a href="javascript:;">{text}</a>,
|
||||
props: {
|
||||
align: 'center',
|
||||
colSpan: 5
|
||||
}
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ var dataSource = new Table.DataSource({
|
||||
|------------|----------------------------|-----------------|---------------------|---------|
|
||||
| title | 列头显示文字 | String or React.Element | | |
|
||||
| dataIndex | 列数据在 data 中对应的 key | String | | |
|
||||
| colSpan | 表头列合并,设置为0时,不渲染 | Number | | |
|
||||
| colSpan | 表头列合并,设置为 0 时,不渲染 | Number | | |
|
||||
| key | React 需要的 key | String | | |
|
||||
| render | 生成复杂数据的渲染函数,参数分别为当前列的值,当前列数据,列索引,@return里面可以设置表格[行/列合并](#demo-colspan-rowspan) | Function(text, record, index) {} | | |
|
||||
| filters | 表头的筛选菜单项 | Array | | |
|
||||
|
Loading…
Reference in New Issue
Block a user