Giter Site home page Giter Site logo

Comments (11)

gregnb avatar gregnb commented on September 28, 2024 1

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.

jaydreyer avatar jaydreyer commented on September 28, 2024 1

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.

gregnb avatar gregnb commented on September 28, 2024

Would you mind putting up a sandbox? For example:
https://codesandbox.io/s/wy2rl1nyzl

from mui-datatables.

jaydreyer avatar jaydreyer commented on September 28, 2024

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.

jaydreyer avatar jaydreyer commented on September 28, 2024

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.

screen shot 2018-01-25 at thursday january 25 2018 3 04 18 pm

from mui-datatables.

jaydreyer avatar jaydreyer commented on September 28, 2024

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.

gregnb avatar gregnb commented on September 28, 2024

Could you paste the data you use to populate the table ? Feel free to remove any sensitive data

from mui-datatables.

jaydreyer avatar jaydreyer commented on September 28, 2024
const tableColumns = ['API', 'Lifecycle Status', 'API Type', 'Owner']

const tableData = [['loading', 'loading', 'loading', 'loading'], ['loading', 'loading', 'loading', 'loading']]

from mui-datatables.

gregnb avatar gregnb commented on September 28, 2024

Ok great, thanks! I'll look into this tonight

from mui-datatables.

jaydreyer avatar jaydreyer commented on September 28, 2024

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.

gregnb avatar gregnb commented on September 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.