React-bootstrap-table2: Sorting icon not showing

Created on 1 Oct 2018  路  8Comments  路  Source: react-bootstrap-table/react-bootstrap-table2

Sorting icon missing

<BootstrapTable keyField="ID" data={this.state.data} columns={this.state.columns} striped bootstrap4/>

Most helpful comment

import following at the top

import 'react-bootstrap-table-next/dist/react-bootstrap-table2.min.css';
import 'react-bootstrap-table2-filter/dist/react-bootstrap-table2-filter.min.css';

All 8 comments

image

I'm using BS4

I mean the version of react-bootstrap-table-next and I think because it work for me on the above example, would you please give me some reproduce code or env? thanks . Online example will be good

I am also having this issue

I think there is a problem with webpack, the workaround fix is like here: https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/1301#issuecomment-603049898

import following at the top

import 'react-bootstrap-table-next/dist/react-bootstrap-table2.min.css';
import 'react-bootstrap-table2-filter/dist/react-bootstrap-table2-filter.min.css';
Was this page helpful?
0 / 5 - 0 ratings

Related issues

epsyan picture epsyan  路  4Comments

primakashi picture primakashi  路  3Comments

eylonronen picture eylonronen  路  3Comments

kamarajuPrathi picture kamarajuPrathi  路  4Comments

Randore picture Randore  路  3Comments