Error Module '"../../../../ej2-charts"' has no exported member 'SelectionPattern'

Hello,

I'm trying to use a pivot-table in Angular 10, but get the error
 ERROR in node_modules/@syncfusion/ej2-pivotview/src/pivotview/model/chartsettings-model.d.ts:1:2946 - error TS2305: Module '"../../../../ej2-charts"' has no exported member 'SelectionPattern'.
and
node_modules/@syncfusion/ej2-pivotview/src/pivotview/model/chartsettings.d.ts:23:72 - error TS2305: Module '"../../../../ej2-charts"' has no exported member 'SelectionPattern'.

I've installed:
"@syncfusion/ej2-angular-grids": "18.3.42",
"@syncfusion/ej2-angular-navigations": "18.3.42",
"@syncfusion/ej2-angular-notifications": "18.3.35",
"@syncfusion/ej2-angular-pivotview": "18.3.40",
"@syncfusion/ej2-base": "18.3.40",
"@syncfusion/ej2-data": "18.3.42",
"@syncfusion/ej2-navigations": "18.3.42",
The installed version of ej2-charts is 18.3.42.
The installed version of ej2-pivotview is 18.3.40.

In my template I simply have
<ejs-pivotview #pivot id="pivot" height="350" [dataSourceSettings]="pivotDataSettings"></ejs-pivotview>
My pivotDataSettings:
public pivotDataSettings = {
dataSource: this.pivotData,
expandAll: false,
columns: [{name: 'Monat', caption: 'Monat'}],
values: [{name: 'Anzahl'}],
rows: [{name: 'SE'}]
}
My pivotData is an array of the following objects:
{SE: number, Monat: string, Anzahl: number, editTimestamp: date}

I tried to uninstall and reinstall ej2-angular-pivotview, but it didn't help.

I hope you can help me.

Thank you.

Kind regards,

Michael








2 Replies 1 reply marked as answer

SN Sivamathi Natarajan Syncfusion Team October 26, 2020 04:06 PM UTC

Hi Michael, 
 
We are validating the reported problem at our end. We will update the further details within two business days (10/28/2020). 
 
Regards, 
Sivamathi. 



SN Sivamathi Natarajan Syncfusion Team October 28, 2020 11:30 AM UTC

 
Thanks for the patience. 
 
The reported issue has been fixed in the weekly release (v18.3.0.44) and it is available in nuget.org (https://www.nuget.org/). Meanwhile, we have prepared a sample for your reference. Please check the below sample. 
 
 
Please let us know if you have concern. 
 
Regards, 
Sivamathi. 


Marked as answer
Loader.
Up arrow icon