Back to Devexpress

PivotGridControl.RefreshData() Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-6125fa62.md

latest2.3 KB
Original Source

PivotGridControl.RefreshData() Method

Recalculates summaries.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public void RefreshData()
vb
Public Sub RefreshData

Remarks

To reload data from the control’s data source and recalculate summaries, use the PivotGridControl.ReloadData method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RefreshData() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-pivot-grid-define-custom-cell-template-to-performing-data-editing/CS/HowToEditCell/PivotGridEditHelper.cs#L151

csharp
pivotGrid.RaiseEvent(args);
    pivotGrid.RefreshData();
} else {

wpf-pivot-grid-define-custom-cell-template-to-performing-data-editing/VB/HowToEditCell/PivotGridEditHelper.vb#L159

vb
pivotGrid.RaiseEvent(args)
    pivotGrid.RefreshData()
Else

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace