SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

Grouping does not work with dataItemColumnValueExtractor

Open nzhtrtlc opened this issue 6 years ago • 1 comments

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 avatar Apr 02 '18 12:04 nzhtrtlc

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.

nzhtrtlc avatar Apr 02 '18 12:04 nzhtrtlc