2020
11-01
11-01
antd design table更改某行数据的样式操作
antdTable里面有一个rowClassName方法表格行的类名Function(record,index):string-->返回类型是String类型。例子:importstylessfrom'./component/record.css';--->引入css样式。css:.csbsTypes{font-family:微软雅黑,"OpenSans","宋体";font-weight:bold;}代码:<Tabletitle={()=><divstyle={{textAlign:'center',backgroundColor:'#170A29'}}></div>}columns={R1columns}dataSource={this.state.RateData}pa...
继续阅读 >