Skip to content
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

Grouping does not work with dataItemColumnValueExtractor #227

Open
nzhtrtlc opened this issue Apr 2, 2018 · 1 comment
Open

Grouping does not work with dataItemColumnValueExtractor #227

nzhtrtlc opened this issue Apr 2, 2018 · 1 comment

Comments

@nzhtrtlc
Copy link

nzhtrtlc commented Apr 2, 2018

Hi, i have nested objects in my json like this

{ assetClass: 'HG', security: {fullName: 'foo', identifiers: { USERID: '123' } } }

But i can not access the nested objects. So i found a solution which have 15 reps.

I use it like this
image

Normally it works great i can access the nested objects.
But when i try to group my columns (in this case Full Name column) result is undefined.
image

What do you suggest ?

@nzhtrtlc
Copy link
Author

nzhtrtlc commented Apr 2, 2018

Sorting does not work as well with custom dataItemColumnValueExtractor.
BUT, if i add formatter then i am able to make sorting.

id: 'fullName', name: 'Full Name', field: 'security', width: 294, sortable: true,
formatter: (r, c, row) => row.fullName,

Grouping still same in both way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant