alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class UnmergeCellInfo

    Represents an unmerge request that targets a merged region in SfGrid<TValue> by its anchor cell. The anchor cell is the top-left cell of the merged region within the current view.

    Inheritance
    object
    UnmergeCellInfo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class UnmergeCellInfo
    Remarks

    Indices are zero-based and refer to the current view only (for example, current page, virtual block, or group segment). The coordinates must identify the anchor of an existing merged region; non-anchor coordinates result in a no-op.

    Typical usage: pass one or more instances to SfGrid<TValue>.UnmergeCells(...) to remove merged regions.

    Examples

    The following example removes a merged region anchored at row 2, column 1.

    grid.UnmergeCells(new UnmergeCellInfo
    {
        RowIndex = 2,
        ColumnIndex = 1
    });

    Constructors

    UnmergeCellInfo()

    Declaration
    public UnmergeCellInfo()

    Properties

    ColumnIndex

    Gets or sets the zero-based column index of the anchor cell among visible leaf data columns.

    Declaration
    public int ColumnIndex { get; set; }
    Property Value
    Type Description
    int

    An int representing the visible leaf column index in the current view. The default value is 0.

    Remarks

    Must reference a visible leaf data column; non-leaf or hidden columns are not valid anchors.

    RowIndex

    Gets or sets the zero-based row index of the anchor cell in the current view (data rows only).

    Declaration
    public int RowIndex { get; set; }
    Property Value
    Type Description
    int

    An int representing the data row index in the current view. The default value is 0.

    Remarks

    Must be greater than or equal to 0 and within the bounds of the current view.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved