Comments (11)
So I played around with this a bit tonight and I am able to replicate your error. A quick fix around this is to upgrade to react and react-dom 16 and above. Is that something you can change in your current project?
I'll still look into what causes issues for 15.6 but will need time
from mui-datatables.
OK. Bummer. We'll look into migrating to react 16 or I'll keep looking for a datagrid controller. Yours is good! Thanks for investigating.
from mui-datatables.
Would you mind putting up a sandbox? For example:
https://codesandbox.io/s/wy2rl1nyzl
from mui-datatables.
That's going to be tough to do because it's part of a larger app. I can paste the page code in there if it would help. Basically, when I have
<MUIDataTable
title={'API Catalog'}
data={tableData}
columns={tableColumns}
options={tableOptions}
/>
in the code, I get the error. If I comment it out, things work fine (other than I have no data table).
from mui-datatables.
What I really don't get is the rest of the table component seems to show up. You can see the title, and if you click the download icon, it will download a csv with the dummy data I used. It also says '1-2 of 2', which is correct, as well.
from mui-datatables.
Last thing I can think of, we are using material-ui 1.0.0-beta.27. I don't know if that would cause an issue.
from mui-datatables.
Could you paste the data you use to populate the table ? Feel free to remove any sensitive data
from mui-datatables.
const tableColumns = ['API', 'Lifecycle Status', 'API Type', 'Owner']
const tableData = [['loading', 'loading', 'loading', 'loading'], ['loading', 'loading', 'loading', 'loading']]
from mui-datatables.
Ok great, thanks! I'll look into this tonight
from mui-datatables.
Thanks for checking. I'm not sure about being able to upgrade. I'll have to investigate and see if that causes any other issues for us. Thanks!
from mui-datatables.
I tried working this out some more but it will not go. As a result I set the peerDependencies to be minimum 16 and above for React. Just does not work well otherwise. Sorry for the inconvenience
from mui-datatables.
Related Issues (20)
- An option to modify delete icon?
- Pagination Rows per Page resetting itself after clicking on custom button in column HOT 6
- Column Drag not working HOT 3
- in customHeadRender only 1 column needs to sort and not remaining elements HOT 1
- Link on github front page is malicious HOT 1
- Not wroking
- muidatatable scroll bar reset
- Not able to hide expander icon from specific rows
- Why are all the examples broken? HOT 1
- Print only appeared content rows with tableBodyMaxHeight applied
- Twitching while dragging columns
- Bad typing on MUIDataTableOptions renderExpandableRow - rowData
- Responsivenes Stacked not working
- setCellProps and setCellHeaderProps not working in mobile
- Customizing the contents of a chip label
- Cant search data with children having array of objects
- how to filter an date column by month
- States are not updating in customBodyRender
- [discuss] I need filter in table theader
- SearchBox vanished on pressing Escape even with `searchAlwaysOpen: true`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-datatables.