Skip to content

Commit 7b95778

Browse files
committed
PivotDataGrid ColumnsCollection, RowsCollection and AggregatesCollection added
1 parent ef8a102 commit 7b95778

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Radzen.Blazor/RadzenPivotDataGrid.razor.cs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,42 @@ private class RowHeaderCell
413413
private RadzenPivotField<TItem> currentFilterField;
414414
private Popup filterPopup;
415415

416+
/// <summary>
417+
/// Gets the columns collection.
418+
/// </summary>
419+
/// <value>The columns collection.</value>
420+
public IList<RadzenPivotColumn<TItem>> ColumnsCollection
421+
{
422+
get
423+
{
424+
return pivotColumns;
425+
}
426+
}
427+
428+
/// <summary>
429+
/// Gets the rows collection.
430+
/// </summary>
431+
/// <value>The rows collection.</value>
432+
public IList<RadzenPivotRow<TItem>> RowsCollection
433+
{
434+
get
435+
{
436+
return pivotRows;
437+
}
438+
}
439+
440+
/// <summary>
441+
/// Gets the aggregates collection.
442+
/// </summary>
443+
/// <value>The aggregates collection.</value>
444+
public IList<RadzenPivotAggregate<TItem>> AggregatesCollection
445+
{
446+
get
447+
{
448+
return pivotAggregates;
449+
}
450+
}
451+
416452
/// <summary>
417453
/// Gets the cached column header rows.
418454
/// </summary>

0 commit comments

Comments
 (0)