使用rowClassName来特别标识
<Table
components={components}
rowClassName={(record, index) => {
return (
record.flag ? "active":""
)
} }
bordered
dataSource={dataSource}
columns={mergedColumns}
showHeader={false}
pagination={false}
/>
使用rowClassName来特别标识
<Table
components={components}
rowClassName={(record, index) => {
return (
record.flag ? "active":""
)
} }
bordered
dataSource={dataSource}
columns={mergedColumns}
showHeader={false}
pagination={false}
/>