<h1>
    Custom Merging
</h1>
<p>
    By default, FlexGrid applies merging to cells based on
    their content. In some cases, you may want to use different
    strategies for merging.
</p>
<p>
    You can achieve this by defining a class that extends the
    <b>wijmo.grid.MergeManager</b> class and assigning an object
    of that type to the grid's <b>mergeManager</b> property.
</p>
<p>
    Below example illustrates this by creating a grid that looks like
    a TV guide:
</p>
@Html.C1().FlexGrid().Id("theGrid")

<p>
    Notice how the custom merge manager creates merged ranges
    that span both rows and columns. This is something the
    default merge manager does not do.
</p>