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)