Skip to content

[DataGrid] Custom Summaries with Group By #12247

@anserban

Description

@anserban

We have the following situation - we need to get the summaries for all grid data and for all subgroups (if the user performs group by) from server and then set them using the custom summaries class.

I've managed to do this without group by.
Once the user performs group by, in the "operate" method, I would also need the group path for the respective data that I'm receiving there.

Screenshot 2022-10-28 at 19 24 48

In the example above, the group paths would be:

  • "Argentina", for the first level summary.
  • "Argentina"->"Buenos Aires", for the second one.

In this way, I would know which summary to get from the server's response and apply it in the "operate" method.

Is there a way that I can currently get this information or having it available as a property in the upcoming versions?

igniteui-angular version: 14.2.3
browser: Chrome

Metadata

Metadata

Labels

❓ question✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions