Skip to content

Pivotview throws an error when using excluded and calculated fields #112

@xy235

Description

@xy235

Hi,
we have been using pivotview in our hospital information system project for over a year. We have recently upgraded to the latest version and discovered a bug when using both excluded and calculated fields in the component.

The bug can be observed in the following stackblitz project:
https://stackblitz.com/edit/syncfusion-pivotview-excluded-fields-bug

After opening the pivotFieldList and deselecting any field other than "count", the component throws an error in the console. After investigation we have found out that the component incorrectly removes the field definition for the calculated field 'count' and is therefore unable to access it.

We have already created a pull request that fixes this problem, which can be found below:
#111

We hope you'll be able to quickly investigate and close this issue with all the provided information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions