Enum AutoSpanMode
Specifies automatic cell spanning modes for the SfGrid<TValue> component.
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public enum AutoSpanMode
Remarks
Use AutoSpanMode to control horizontal and vertical merging of identical cell values. The default value is None.
- None - Keeps every cell isolated; no merging is attempted.
- Row - Merges neighboring cells across columns when they share the same value, and it always runs before Column when both are enabled.
- Column - Merges stacked cells down the column when they share the same value, and it always runs after Row to respect existing horizontal spans.
- HorizontalAndVertical - Runs the Row pass first, then the Column pass, giving a full two-direction merge sequence.
Fields
| Name | Description |
|---|---|
| Column | Enables vertical merging for adjacent cells with identical content within the same column. |
| HorizontalAndVertical | Enables both horizontal and vertical automatic cell spanning. |
| None | Disables automatic cell spanning for the grid and its columns. |
| Row | Enables horizontal merging for adjacent cells with identical content within the same row. |