Giter VIP home page Giter VIP logo

Comments (13)

KamranAsif avatar KamranAsif commented on July 23, 2024

This should have been fixed here https://github.com/schrodinger/fixed-data-table-2/pull/28/files
What version of FDT2 are you using?

from fixed-data-table-2.

FredericHeem avatar FredericHeem commented on July 23, 2024

The last version is being used: 0.7.2

from fixed-data-table-2.

KamranAsif avatar KamranAsif commented on July 23, 2024

Can you get this reproducible in a jsfiddle? We need more information on the error

from fixed-data-table-2.

FredericHeem avatar FredericHeem commented on July 23, 2024

Before spending some time to isolate the issue, the live examples at http://schrodinger.github.io/fixed-data-table-2/example-object-data.html are using the latest version ?

from fixed-data-table-2.

burakcan avatar burakcan commented on July 23, 2024

Can you post full error stack output?

from fixed-data-table-2.

FredericHeem avatar FredericHeem commented on July 23, 2024
Warning: Unknown prop `columnKey` on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
    in div (created by InvoiceTable)
    in div (created by FixedDataTableCell)
    in FixedDataTableCell (created by FixedDataTableCellGroupImpl)
    in div (created by FixedDataTableCellGroupImpl)
    in FixedDataTableCellGroupImpl (created by FixedDataTableCellGroup)
    in div (created by FixedDataTableCellGroup)
    in FixedDataTableCellGroup (created by FixedDataTableRowImpl)
    in div (created by FixedDataTableRowImpl)
    in div (created by FixedDataTableRowImpl)
    in FixedDataTableRowImpl (created by FixedDataTableRow)
    in div (created by FixedDataTableRow)
    in FixedDataTableRow (created by FixedDataTable)
    in div (created by FixedDataTable)
    in div (created by FixedDataTable)
    in FixedDataTable (created by InvoiceTable)
    in div (created by InvoiceTable)
    in InvoiceTable (created by Unknown)
    in div (created by Unknown)
    in Unknown (created

from fixed-data-table-2.

KamranAsif avatar KamranAsif commented on July 23, 2024

in div (created by InvoiceTable)
This is caused by your code, not FDT.

from fixed-data-table-2.

josescasanova avatar josescasanova commented on July 23, 2024

hey @FredericHeem were you able to solve this issue? I'm running into the same issue and can't seem to find the root cause.

from fixed-data-table-2.

FredericHeem avatar FredericHeem commented on July 23, 2024

I'm glad i'm not the only one, this annoying warning is still there but I haven't had the time to delve into it, it's a warning after all

from fixed-data-table-2.

josescasanova avatar josescasanova commented on July 23, 2024

@FredericHeem Yep! I removed every instance of columnKey in my app and its still happening.

from fixed-data-table-2.

FredericHeem avatar FredericHeem commented on July 23, 2024

Columnkey is needed to resize and reorder columns so it's needed in my use case.

from fixed-data-table-2.

KamranAsif avatar KamranAsif commented on July 23, 2024

If you can create a jsfiddle reproducing this consistently, please feel free to reopen.

from fixed-data-table-2.

wcjordan avatar wcjordan commented on July 23, 2024

@FredericHeem I suspect in your InvoiceTable you pass props with the spread operator such as is described here. You'll want to consume the columnKey prop so it is not passed down to the div with other props.

Is that the case? If not would it be possible to share a bit of the render for InvoiceTable?

@josescasanova could you look at your cell renderer and see if you have anything similar.

You can read a bit more about the warning and solutions others have found in these react issues:
facebook/react#7266
facebook/react#7445

from fixed-data-table-2.

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.