mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 16:58:00 +08:00
b9a6b7b578
* demo: update demo * add form * clear * add Select * add * fix style * fix style * fix * revert
572 B
572 B
zh-CN
带单元格编辑功能的表格。当配合 shouldCellUpdate
使用时请注意闭包问题。
en-US
Table with editable cells. When work with shouldCellUpdate
, please take care of closure.
.editable-cell {
position: relative;
}
.editable-cell-value-wrap {
padding: 5px 12px;
cursor: pointer;
}
.editable-row:hover .editable-cell-value-wrap {
padding: 4px 11px;
border: 1px solid #d9d9d9;
border-radius: 2px;
}