DevExpress / devextreme-reactive

Business React components for Bootstrap and Material-UI
https://devexpress.github.io/devextreme-reactive/
Other
2.08k stars 382 forks source link

Pager is not found in @devexpress React-Grid #1837

Closed NIMISHAMORADIYA closed 5 years ago

NIMISHAMORADIYA commented 5 years ago

i am facing this error at run time.

./node_modules/@devexpress/dx-react-grid-bootstrap3/dist/dx-react-grid-bootstrap3.es.js Attempted import error: 'Pager' is not exported from 'react-bootstrap'.

Though i m not using pager in my code. Is there any bug from package side? Please guide me through this.

react #pagination #datatable

SergeyAlexeev commented 5 years ago

Hi,   As far as I understand, you are using the latest version of the 'react-bootstrap' library, aren't you? If so, starting with v1.0.0 the 'react-bootstrap' is switched to Bootstrap v4. We are using an old version of the 'react-bootstrap' library in our 'dx-react-grid-bootstrap3' package to be compatible with Bootstrap v3. If your application is based on Bootstrap v3, you need to downgrade the 'react-bootstrap' library to v0.32.4. Otherwise, if you prefer Bootstrap 4, I suggest you use the dx-react-grid-bootstrap4 package.

lock[bot] commented 5 years ago

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.