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

Pivot Table - EnableVirtualization with Custom CellTemplate does not work

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


Attachment: PivotScalingProblem_EnableVirtualizationBug_66099a5.zip

3 Replies

AP AngelinFaithSheeba PaulvannanRajadurai Syncfusion Team December 6, 2022 01:50 PM UTC

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.



AP AngelinFaithSheeba PaulvannanRajadurai Syncfusion Team December 22, 2022 02:52 PM UTC

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.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/PivotScalingProblem_EnableVirtualizationBug-1701039746


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.



AP AngelinFaithSheeba PaulvannanRajadurai Syncfusion Team December 28, 2022 03:54 PM UTC

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 properlyhas been included in this release. Please refer to the following sample.


Sample:  https://www.syncfusion.com/downloads/support/directtrac/general/ze/PivotScalingProblem_EnableVirtualizationBug752332914


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.


Loader.
Up arrow icon