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
@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.
from fixed-data-table-2.
Comments (13)
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.
The last version is being used:
0.7.2
from fixed-data-table-2.
Can you get this reproducible in a jsfiddle? We need more information on the error
from fixed-data-table-2.
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.
Can you post full error stack output?
from fixed-data-table-2.
from fixed-data-table-2.
in div (created by InvoiceTable)
This is caused by your code, not FDT.
from fixed-data-table-2.
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.
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.
@FredericHeem Yep! I removed every instance of
columnKey
in my app and its still happening.from fixed-data-table-2.
Columnkey is needed to resize and reorder columns so it's needed in my use case.
from fixed-data-table-2.
If you can create a jsfiddle reproducing this consistently, please feel free to reopen.
from fixed-data-table-2.
@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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
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
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.