rowClassName={
(record, index) => {
if (index === 0) {
return "bg-red-200"
}
return ""
}
}
需要特别注意的是:如果
column
中的列头 设置了fixed
属性,那一列classname设置无效
rowClassName={
(record, index) => {
if (index === 0) {
return "bg-red-200"
}
return ""
}
}
需要特别注意的是:如果
column
中的列头 设置了fixed
属性,那一列classname设置无效