angular-ui / ui-grid

UI Grid: an Angular Data Grid
http://ui-grid.info
MIT License
5.38k stars 2.47k forks source link

Grouping does not work when a column has cell template property #7269

Closed santy4747 closed 1 year ago

santy4747 commented 1 year ago

The grouping and the aggregate does not work when a column has a cellTemplate property, but for other normal values grouping and aggregates do work. We've tried to reproduce this problem in plunkr but to no avail as we've been getting random script errors. So, ive posted the code over on the plunkr and suggest you to reproduce it in your own environment.

Steps to reproduce the behavior:

  1. Go to final column named "Balance"
  2. Click on column dropdown icon
  3. Select the grouping option

As with grouping other columns this column should've also had just the single row of balance with all the values inside it but right now it's creating a row for every record and treats it as though it's a separate value

Desktop (please complete the following information):

Plain Grid

Selecting grouping for a cell template column

Error in grouping

Selecting grouping in a column with no cell template

Expected behaviour

Here's the fiddle with the code, I suggest you to copy paste it in your local editor as for some reason this doesn't work in JSFiddle https://jsfiddle.net/santy4747/kvhn7yf3/3/

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue has been automatically closed because it has not had recent activity. If you believe that this is still an issue in the latest version, feel free to re-open it. Thank you for your contributions.