index.css:
.cell-class {
background-color: red;
}
import './index.css'
const column: Array<any> = {
title: "Age",
width: 100,
dataIndex: "age",
key: "age",
fixed: "left",
onCell: (record, index) => {
antd Table对满足条件的单元格设置背景色
最新推荐文章于 2023-09-05 23:40:43 发布