We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Error using conditional formatting

When we try to use conditional formatting in pivotview control using toolbar, we have an error after pressing the Apply button:

core.js:15724 ERROR TypeError: Cannot read property 'length' of undefined
    at Render.push../node_modules/@syncfusion/ej2-pivotview/src/pivotview/renderer/render.js.Render.getFormatList (render.js:1067)
    at new Render (render.js:22)
    at PivotViewComponent.push../node_modules/@syncfusion/ej2-pivotview/src/pivotview/base/pivotview.js.PivotView.renderPivotGrid (pivotview.js:904)
    at ConditionalFormatting.push../node_modules/@syncfusion/ej2-pivotview/src/common/conditionalformatting/conditional-formatting.js.ConditionalFormatting.applyButtonClick (conditional-formatting.js:106)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
    at Object.onInvokeTask (core.js:17290)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)
    at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
    at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:498)
    at invokeTask (zone.js:1744)

2 Replies

JP Jagadeesan Pichaimuthu Syncfusion Team June 13, 2019 12:05 PM UTC

Hi Jaime, 
This is a known issue and we already fixed this. It will be included in our upcoming Volume 2 release. So, kindly use package version v17.1.47 (@syncfusion/ej2-angular-pivotview) in order to resolve the problem until the volume 2 release. 
Please let us know if any concerns. 

DB Dinesh Babu Yadav Syncfusion Team July 12, 2019 05:46 AM UTC

Hi Jaime,  
We are glad to announce that our Essential Studio 2019 Volume 2 Release v17.2.0.34 is rolled out and is available for download under the following link. 
The fix for the issue which is mentioned in the forum has been included in this release.  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
Dinesh Babu Yadav 

Live Chat Icon For mobile
Up arrow icon