You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
[ X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57
Current behavior
DataTable with onPage, onSort, onFilter and reorderable columns has null state when there's no state in current session storage.
DataTable.js:1418 Uncaught TypeError: Cannot read property 'columnOrder' of null
at DataTable.getColumns (DataTable.js:1418)
at DataTable.render (DataTable.js:1546)
Expected behavior
Successful DataTable rendering.
Minimal reproduction of the problem with instructions
Create DataTable with onPage, onSort, onFilter methods and reorderable columns (lazy loading with sort and filter features).
Please tell us about your environment:
Fedora 30, IntelliJ Ultimate 2019.2, NPM 6.9.0
React version:
16.8.6
PrimeReact version:
3.1.9
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
The text was updated successfully, but these errors were encountered:
SebastianMila
changed the title
Stateful DataTable has null state under certain conditions
DataTable has null state under certain conditions
Aug 29, 2019
There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Codesandbox Case (Bug Reports)
https://codesandbox.io/embed/primereact-test-5nlv3
Current behavior
DataTable with onPage, onSort, onFilter and reorderable columns has null state when there's no state in current session storage.
DataTable.js:1418 Uncaught TypeError: Cannot read property 'columnOrder' of null
at DataTable.getColumns (DataTable.js:1418)
at DataTable.render (DataTable.js:1546)
Expected behavior
Successful DataTable rendering.
Minimal reproduction of the problem with instructions
Create DataTable with onPage, onSort, onFilter methods and reorderable columns (lazy loading with sort and filter features).
Please tell us about your environment:
Fedora 30, IntelliJ Ultimate 2019.2, NPM 6.9.0
React version:
16.8.6
PrimeReact version:
3.1.9
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Chrome, Firefox
ES6
The text was updated successfully, but these errors were encountered: