Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Currently unused _group functionality #6

Open
jackcrymble opened this issue Nov 1, 2018 · 2 comments
Open

Currently unused _group functionality #6

jackcrymble opened this issue Nov 1, 2018 · 2 comments

Comments

@jackcrymble
Copy link

jackcrymble commented Nov 1, 2018

What is the reason _group functionality has been disabled for dc.datatables?

In the dc.datatables.js file I can see you have stated this is for compatibility reasons. However, on a project I am currently working on this functionality would be really useful.

Thanks

@gordonwoodhull
Copy link
Collaborator

gordonwoodhull commented Nov 1, 2018

Hi @jackcrymble. Are you looking for the group function as implemented by dc.dataTable, which creates sections of the table by nesting them?

http://dc-js.github.io/dc.js/docs/html/dc.dataTable.html

Or do you want to supply aggregated data from a crossfilter group to the table?

If the latter, I think you should be able to pass a crossfilter group as the dimension parameter, just as you can with dc.dataTable.

If the former, I have not seen a nesting feature for datatables.js so I am not sure if that is possible.

@gordonwoodhull
Copy link
Collaborator

Maybe we could support the RowGroup extension for datatables. One difference would be that this extension expects a field name, so it would not be compatible with dc.dataTable.group, which takes a function.

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

No branches or pull requests

2 participants