-
Notifications
You must be signed in to change notification settings - Fork 782
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
Nested data fields #1742
base: master
Are you sure you want to change the base?
Nested data fields #1742
Conversation
I was thinking about nesting property and found this pull request 👍
|
Yes, exactly. I can not guarantee that it works in all cases though. If you check it out please let me know how it went. |
Hey all, firstly thanks your contributions, actually, I'm already stop all new feature imeplement and start to move to however, this PR is good but still missing some changes and it's not very easy to implement nested data in current code base, so I consider not to merge this PR and will encourage people to use Let me know your any thinking or idea and very appreciated your contributions, thanks |
Added the ability to access nested properties.
My solution uses lodash.get and set to read/write from the row object. The dataField property is used as the accessor, e.g.
dataField='user.foo.bar[1]'
will accessrow.foo.bar[1]
.The only exception is the
keyField
which can not be a nested property.