A pivotcontrol with the config below and NO elements in the source
throws the following exception
WidthandHeight must be non-negative.
at System.Windows.Size..ctor(Double width,Double height)
at System.Windows.Controls.ScrollViewer.OnLayoutUpdated(Object sender,EventArgs e)
<syncfusion:PivotComputationInfo CalculationName = "Total" Description = "Summation of values" FieldName = "Quantity" Format = "#,##0"/>
I'm attaching a sample (based in another sample you provided me) where you can see how it fails with numberOfRecords = 0 (in ProductSales.cs ). But if you set it to a number greater than 0, it works ok.
SRSabaridass Ramamoorthy Syncfusion Team April 22, 2019 04:15 AM
We are able to reproduce the reported issue –“ Exception was thrown when trying to make the grand total row always visible” Here we have provided private feedback link, we request you to log in to view the link further
The fix will be available in our upcoming Volume 1 SP1 release which is scheduled to be rolled out at the mid of May, 2019. Would waiting for the official release is OK for you? Otherwise, we can provide a patch on May 6 , 2019.
If you have any more specification replication procedure or a scenario to be tested you can add it as a comment in the portal.