How to improve loading and scrolling performance in PivotGrid?
23 Oct 2019 / 1 minute to read
The performance of the PivotGrid control can be improved by enabling the on-demand calculation on the value cells and by disabling the auto-sizing option. This refreshes the calculation only while loading or scrolling the PivotGrid control. This can be achieved by using EnableOnDemandCalculations
and AutoSizeOption
properties of PivotGrid control.
Please refer the below code snippet.
public MainWindow()
{
InitializeComponent();
pivotGrid.AutoSizeOption = GridAutoSizeOption.None;
pivotGrid.PivotEngine.EnableOnDemandCalculations = true;
}
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page