无法在列名称旁边显示用于排序的插入符号图标



即使我在列中将attribut排序设置为true,我也无法使用react-bootstrap-table2在列名旁边显示用于排序的插入符号图标。

谢谢

希望这个链接能解决您的问题https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/215

如果默认情况下缺少插入符号,则可以将以下样式添加到全局样式表中。


.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
border-top: 4px solid 9;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}

最新更新