Class PivotViewSortSettings
Represents a collection of field-level sort settings for the SfPivotView<TValue> component.
Inherited Members
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotViewSortSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
The PivotViewSortSettings class manages a collection of PivotViewSortSetting instances that define member ordering for fields in the pivot table.
Sort settings order field members in either ascending or descending sequence. Sorting behavior is governed by the EnableSorting property on the pivot component, which must be set to true to apply custom sort settings.
By default, the Order property in PivotViewSortSettings defaults to Sorting.Ascending. To preserve the original data-source order, set Order to Sorting.None; doing so also removes the sort icons from grouping bar and field-list pivot buttons for that field.
Use one or more PivotViewSortSetting entries to configure sort order for specific fields; each entry applies to a single field and maintains an independent order.
Constructors
PivotViewSortSettings()
Declaration
public PivotViewSortSettings()
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
Dispose(bool)
Dispose unmanaged resources in the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |