Class PivotViewHyperlinkSettings
Allow a set of options to display a hyperlink to link data for individual cells that are shown in the pivot table.
These options allow you to enable a separate hyperlink for row headers, column headers, value cells, and summary cells in the HyperlinkSettings
class.
The options available are:
ShowHyperlink
: Allows you to set the visibility of hyperlink in all cells.
ShowRowHeaderHyperlink
: Allows you to set the visibility of hyperlink in row headers.
ShowColumnHeaderHyperlink
: Allows you to set the visibility of hyperlink in column headers.
ShowValueCellHyperlink
: Allows you to set the visibility of hyperlink in value cells.
ShowSummaryCellHyperlink
: Allows you to set the visibility of hyperlink in summary cells.
HeaderText
: Allows you to set the visibility of hyperlink based on header text.
ConditionalSettings
: Allows you to set the visibility of hyperlink based on specific condition.
CssClass
: Allows you to add CSS class name to the hyperlink options.
Inheritance
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotViewHyperlinkSettings : OwningComponentBase
Constructors
PivotViewHyperlinkSettings()
Declaration
public PivotViewHyperlinkSettings()
Properties
ConditionalSettings
Allow options for setting the visibility of hyperlink based on specific condition. The options available here are as follows:
Measure
: Allows you to specify the value field caption to get visibility of hyperlink option for specific measure.
condition
: Allows you to choose the operator type such as equals, greater than, less than, etc.
value1
: Allows you to set the start value.
value2
: Allows you to set the end value. This option will be used by default when the operator Between and NotBetween is chosen to apply.
Declaration
public List<PivotViewConditionalSetting> ConditionalSettings { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<PivotViewConditionalSetting> |
CssClass
Allows you to add the CSS class name to the hyperlink options. Use this class name you can apply styles to a hyperlink easily at your end.
Declaration
public string CssClass { get; set; }
Property Value
Type |
---|
System.String |
HeaderText
Allows you to set the visibility of hyperlink in the cells based on specific row or column header.
Declaration
public string HeaderText { get; set; }
Property Value
Type |
---|
System.String |
ShowColumnHeaderHyperlink
Allows you to set the visibility of hyperlink in column headers that are currently shown in the pivot table.
Declaration
public bool ShowColumnHeaderHyperlink { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowHyperlink
Allows you to set the visibility of hyperlink in all cells that are currently shown in the pivot table.
Declaration
public bool ShowHyperlink { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowRowHeaderHyperlink
Allows you to set the visibility of hyperlink in row headers that are currently shown in the pivot table.
Declaration
public bool ShowRowHeaderHyperlink { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowSummaryCellHyperlink
Allows you to set the visibility of hyperlink in summary cells that are currently shown in the pivot table.
Declaration
public bool ShowSummaryCellHyperlink { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowValueCellHyperlink
Allows you to set the visibility of hyperlink in value cells that are currently shown in the pivot table.
Declaration
public bool ShowValueCellHyperlink { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose()
Dispose the unmanaged resources.
Declaration
public virtual void Dispose()
Dispose(Boolean)
Dispose unmanaged resources in the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Boolean value to dispose the object. |
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 |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |