Hi,
Pivot Table - EnableVirtualization with Custom CellTemplate does not work.
ystem.Collections.Generic.KeyNotFoundException: The given key '6' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Syncfusion.Blazor.PivotView.Internal.Render`1.GetCellInfo(AxisSet cellData)
at Syncfusion.Blazor.PivotView.Internal.PivotCell`2.UpdateRowCellInfo()
at Syncfusion.Blazor.PivotView.Internal.PivotCell`2.BuildRenderTree(RenderTreeBuilder __builder)
at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost: Error: Unhandled exception in circuit 'ZbPovZPKsvrPxgaY6m89ynS01koDBHXL1ptch1TOgEQ'.
No problem if you comment out <PivotViewTemplates />.
Problem can be reproduced with attached app.
Can you pls suggest? Thx !
Yi
Hi Yi Han,
The reported issue occurs because of the AllowDataCompression in your sample. And this issue has been already resolved. Moreover, this issue fix will be available in our upcoming Vol 4 Main release, which is scheduled to be released at December 16, 2022.
Regards,
Angelin Faith Sheeba.
Hi Yi Han,
The fix for the reported issue "Pivot Table Custom CellTemplate does not work when virtualization is enabled does not work properly" could not be included in the Volume 4 main release as promised because we are testing the fix in other use cases at our end. However, please enable AllowDrillThrough property to resolve the reported problem at your end. Meanwhile, we have modified your sample, and please refer it from the below link.
Screenshot:
However, the fix for the reported issue will be included in our next weekly patch release, which is estimated to be rolled out by December 28, 2022.
Regards,
Angelin Faith Sheeba.
Hi Yi Han,
We are glad to announce that our weekly Release V20.4.40 is rolled out and fix for the issue “Pivot Table Custom CellTemplate does not work when virtualization is enabled does not work properly” has been included in this release. Please refer to the following sample.
Output screenshot:
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.
Regards,
Angelin Faith Sheeba.