如何在列中显示复选标记(刻度符号)?

时间:2019-05-13 06:51:46

标签: javascript html reactjs react-bootstrap-table

我想在列中显示刻度线作为值;

 <td align="center" style="text-align:center; font-size:150%; font-weight:bold; color:green;">&#10004;</td>  

表列和数据如下所示

 TableColumns: [
            {
              dataField: 'isyeri',
              text: 'İşyeri',
            }
              dataField: 'checker',
              text: 'Checker'
            }
          ],   



Data.push({
            isyeri: item.isyeri,
            checker:item.checker //I want to show the tick symbol as span for this value           
          });

<BootstrapTable  sticky hover bootstrap4  data={ this.state.Data } columns={ this.state.TableColumns } />

谢谢

0 个答案:

没有答案