-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work with immutable records #120
Comments
Every row needs an index that held with the prop To solve this problem, I have to write something like Could you solve this problem instead of that I mentioned above, and create a new PR with a branch? Tips: there are a few things need to be changed below (at least)
|
Has there been any progress on this? I am now running into this issue too. |
@PunkOnWheels I haven't had any ideas so far |
@Vincz @PunkOnWheels solved! 👍 |
I'm working with GraphQL generation and the records of my data source are immutable (non extensible objects) (see: https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Object/preventExtensions).
So this line:
virtualized-table-for-antd/src/vt.tsx
Line 727 in 66f0e80
TypeError: Cannot add property Symbol(idx), object is not extensible
Would it be another way to keep the index? Maybe with a map using rowKey as key?
The text was updated successfully, but these errors were encountered: