Base component for RadzenPivotDataGrid Rows, Columns and Aggregates.
Object
ComponentBase
IComponent
IHandleEvent
IHandleAfterRender
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.OnAfterRenderAsync
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenPivotField<TItem> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender| Name | Description |
|---|---|
| TItem | The type of the PivotDataGrid item. |
Base component for RadzenPivotDataGrid Rows, Columns and Aggregates.
public RadzenPivotField<TItem>()Gets or sets the filter operator.
public FilterOperator FilterOperator { get; set; }
| Type | Description |
|---|---|
| FilterOperator | Gets or sets the filter operator. |
Gets the filter property type.
public Type FilterPropertyType { get; }
| Type | Description |
|---|---|
| Type | Gets the filter property type. |
Gets or sets the filter template.
public RenderFragment<RadzenPivotField<TItem>> FilterTemplate { get; set; }
| Type | Description |
|---|---|
| RenderFragment<RadzenPivotField<TItem>> | Gets or sets the filter template. |
Gets or sets the filter value.
public object FilterValue { get; set; }
| Type | Description |
|---|---|
| object | Gets or sets the filter value. |
Gets or sets the filter value template.
public RenderFragment<RadzenPivotField<TItem>> FilterValueTemplate { get; set; }
| Type | Description |
|---|---|
| RenderFragment<RadzenPivotField<TItem>> | Gets or sets the filter value template. |
Gets or sets a value indicating whether this column is filterable.
public bool Filterable { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether this column is filterable. |
Gets or sets the logical filter operator.
public LogicalFilterOperator LogicalFilterOperator { get; set; }
| Type | Description |
|---|---|
| LogicalFilterOperator | Gets or sets the logical filter operator. |
Gets or sets the parent pivot data grid component.
public RadzenPivotDataGrid<TItem> PivotGrid { get; set; }
| Type | Description |
|---|---|
| RadzenPivotDataGrid<TItem> | Gets or sets the parent pivot data grid component. |
Gets or sets the property name.
public string Property { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the property name. |
Gets or sets the second filter operator.
public FilterOperator SecondFilterOperator { get; set; }
| Type | Description |
|---|---|
| FilterOperator | Gets or sets the second filter operator. |
Gets or sets the second filter value.
public object SecondFilterValue { get; set; }
| Type | Description |
|---|---|
| object | Gets or sets the second filter value. |
Gets or sets the second filter value template.
public RenderFragment<RadzenPivotField<TItem>> SecondFilterValueTemplate { get; set; }
| Type | Description |
|---|---|
| RenderFragment<RadzenPivotField<TItem>> | Gets or sets the second filter value template. |
Gets or sets a value indicating whether this field is initially selected (active) in the pivot grid. When set to false, the field will be available in the picker but not applied on initial load.
public bool Selected { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether this field is initially selected (active) in the pivot grid. When set to false, the field will be available in the picker but not applied on initial load. |
Gets or sets the sort order.
public SortOrder? SortOrder { get; set; }
| Type | Description |
|---|---|
| SortOrder? | Gets or sets the sort order. |
Gets or sets the sequence of the SortOrders to use when sorting the column interactively.
public Nullable`1[[Radzen.SortOrder, Blazor, Version=10.0.1.0, Culture=neutral, PublicKeyToken=null]][] SortOrderSequence { get; set; }
| Type | Description |
|---|---|
| Nullable`1[[Radzen.SortOrder, Radzen.Blazor, Version=10.0.1.0, Culture=neutral, PublicKeyToken=null]][] | Gets or sets the sequence of the SortOrders to use when sorting the column interactively. |
Gets or sets a value indicating whether this column is sortable.
public bool Sortable { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether this column is sortable. |
Gets or sets the title.
public string Title { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the title. |
Gets or sets the data type.
public Type Type { get; set; }
| Type | Description |
|---|---|
| Type | Gets or sets the data type. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
Disposes the component and removes it from the parent pivot grid.
public virtual void Dispose()Gets the current filter operator (internal state).
public FilterOperator GetFilterOperator()
| Type | Description |
|---|---|
| FilterOperator |
Gets the filter property name.
public string GetFilterProperty()
| Type | Description |
|---|---|
| string |
Gets the current filter value (internal state).
public object GetFilterValue()
| Type | Description |
|---|---|
| object |
Gets the current logical filter operator (internal state).
public LogicalFilterOperator GetLogicalFilterOperator()
| Type | Description |
|---|---|
| LogicalFilterOperator |
Gets the current second filter operator (internal state).
public FilterOperator GetSecondFilterOperator()
| Type | Description |
|---|---|
| FilterOperator |
Gets the current second filter value (internal state).
public object GetSecondFilterValue()
| Type | Description |
|---|---|
| object |
Gets the current sort order (internal state).
public SortOrder? GetSortOrder()
| Type | Description |
|---|---|
| SortOrder? |
Gets the column title.
public string GetTitle()
| Type | Description |
|---|---|
| string |
Checks if the field has an active filter.
public bool HasActiveFilter()
| Type | Description |
|---|---|
| bool |
Sets the internal filter operator.
public void SetFilterOperator(FilterOperator? value)
| Type | Name | Description |
|---|---|---|
| FilterOperator? | value |
Sets the internal filter value.
public void SetFilterValue(object value, bool isFirst)
| Type | Name | Description |
|---|---|---|
| object | value | |
| bool | isFirst |
Sets the internal logical filter operator.
public void SetLogicalFilterOperator(LogicalFilterOperator value)
| Type | Name | Description |
|---|---|---|
| LogicalFilterOperator | value |
Set parameters as an asynchronous operation.
public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters | The parameters. |
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
Sets the internal second filter operator.
public void SetSecondFilterOperator(FilterOperator? value)
| Type | Name | Description |
|---|---|---|
| FilterOperator? | value |
Gets value indicating if up and down buttons are displayed in numeric column filter.
public virtual bool ShowUpDownForNumericFilter()
| Type | Description |
|---|---|
| bool |