You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/pivotgrid/data-binding.md
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,14 @@ The PivotGrid supports different data sources via its `DataProviderType` paramet
25
25
26
26
When bound to local data, the Pivot Grid requires its `Data` parameter to provide all the data at once as `IEnumerable<TItem>`. The component will perform all aggregate calculations in-memory and there is no [load on demand]({%slug pivotgrid-overview%}#pivotgrid-parameters).
27
27
28
+
If the local data changes programmatically, you need to reset the collection instance or [call the PivotGrid `Rebind()` method]({%slug pivotgrid-overview%}#pivotgrid-reference-and-methods). See the common documentation about [refreshing component data]({%slug common-features-data-binding-overview%}#refresh-data) for details.
29
+
28
30
> Large amounts of local data may impact the performance, especially in WebAssembly applications.
29
31
30
32
>caption PivotGrid bound to Local data provider
31
33
32
34
<divclass="skip-repl"></div>
35
+
33
36
````CSHTML
34
37
<TelerikPivotGrid Data="@PivotData">
35
38
<PivotGridColumns>
@@ -45,31 +48,34 @@ When bound to local data, the Pivot Grid requires its `Data` parameter to provid
45
48
</TelerikPivotGrid>
46
49
47
50
@code {
48
-
private List<PivotModel> PivotData { get; set; } = new List<PivotModel>();
0 commit comments