[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridMergeManager.GetMergedRange

GetMergedRange Method

GetMergedRange(GridCellType, GridCellRange)

Gets a GridCellRange that specifies the merged extent of a cell.

Declaration
public virtual GridCellRange GetMergedRange(GridCellType cellType, GridCellRange range)
Parameters
Type Name Description
GridCellType cellType

Type of the cell.

GridCellRange range

The range of the original cell.

Returns
Type Description
GridCellRange

GetMergedRange(GridPanel, GridCellRange, GridCellRange, bool, bool, bool)

Gets a GridCellRange that specifies the merged extent of a cell.

Declaration
protected static GridCellRange GetMergedRange(GridPanel panel, GridCellRange extentRange, GridCellRange range, bool vertical = true, bool expand = false, bool mergeNullOrWhitespace = false)
Parameters
Type Name Description
GridPanel panel

The panel to be merged.

GridCellRange extentRange

The range which limits the zone to look for.

GridCellRange range

The range inside the panel.

bool vertical

if set to true the merge will be performed vertically, otherwise horizontally.

bool expand

if set to true the merge algorithm can expand to adjacent columns or rows depending on the direction.

bool mergeNullOrWhitespace

When set to false (default), the cells whose text is empty or null will not be merged.

Returns
Type Description
GridCellRange