Skip to content

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

@santy4747

Description

@santy4747

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):

  • OS:Windows 10
  • Browser Chrome
  • Version Version 107.0.5304.107

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/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions