Table Sort · react-bootstrap-table2
react-bootstrap-table.github.io › basic-sortAfter table rendered, you can see the Product ID and Product Name will have a caret icon beside the column name: Control Sorting Default Sort. react-bootstrap-table2 will only apply the default sort at first time rendering, you can achieve the default sorting on table easily via defaultSorted. Sort Event Listener. Defined onSort on target column: