我是 React 的新手,正在使用来自 react-bootstrap 的 Table 组件.
我想按“到期前的天数”列的升序对表格进行排序。
但是 Table 组件没有排序属性,有人知道我该怎么做吗?
最佳答案
我建议使用 react-bootstrap-table然后使用这些 examples
更新 : 现在有这个包的更新版本:react-bootstrap-table.github.io
关于reactjs - 如何对 react-bootstrap Table 组件进行排序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49735581/