Class SelectionSettings
Defines the cell selection settings.
Inherited Members
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class SelectionSettings
Constructors
SelectionSettings()
Declaration
public SelectionSettings()
Properties
CellSelectionMode
The cell selection modes are flow and box. It requires the selection
mode to be either cell or both.
Flow: Selects the range of cells between start index and end index that also includes the other cells of the selected rows.
Box: Selects the range of cells within the start and end column indexes that includes in between cells of rows within the range.
BoxWithBorder: Selects the range of cells as like Box mode with borders.
Declaration
[JsonPropertyName("cellSelectionMode")]
public CellSelectionMode CellSelectionMode { get; set; }
Property Value
| Type |
|---|
| CellSelectionMode |
CheckboxMode
Defines options for checkbox selection Mode. They are
Default: This is the default value of the checkboxMode. In this mode, user can select multiple rows by clicking rows one by one.
ResetOnRowClick: In ResetOnRowClick mode, on clicking a row it will reset previously selected row and also multiple
rows can be selected by using CTRL or SHIFT key.
Declaration
[JsonPropertyName("checkboxMode")]
public CheckboxSelectionType CheckboxMode { get; set; }
Property Value
| Type |
|---|
| CheckboxSelectionType |
CheckboxOnly
If 'checkboxOnly' set to true, then the selection is allowed only through checkbox.
Declaration
[JsonPropertyName("checkboxOnly")]
public bool CheckboxOnly { get; set; }
Property Value
| Type |
|---|
| bool |
EnableSimpleMultiRowSelection
If 'enableSimpleMultiRowSelection' set to true, then the user can able to perform multiple row selection with single clicks.
Declaration
[JsonPropertyName("enableSimpleMultiRowSelection")]
public bool EnableSimpleMultiRowSelection { get; set; }
Property Value
| Type |
|---|
| bool |
Mode
Pivot widget supports row, column, cell, and both (row and column) selection mode.
Declaration
[JsonPropertyName("mode")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public SelectionMode Mode { get; set; }
Property Value
| Type |
|---|
| SelectionMode |
PersistSelection
If 'persistSelection' set to true, then the selection is persisted on all operations. For persisting selection, any one of the column should be enabled as a primary key.
Declaration
[JsonPropertyName("persistSelection")]
public bool PersistSelection { get; set; }
Property Value
| Type |
|---|
| bool |
Type
Defines options for selection type. They are
Single: Allows selection of only a row or a column or a cell.
Multiple: Allows selection of multiple rows or columns or cells.
Declaration
[JsonPropertyName("type")]
public object Type { get; set; }
Property Value
| Type |
|---|
| object |