»Spread for ASP.NET  » Product Tour  » Cell Merging jump to:

Cell Merging

You can have Spread automatically merge cells between columns or between rows if the cells have the same value based on the policy that you set. The control can automatically combine cells that have the same contents. You might want to do this for easier viewing of the data, for example, when bound to a database.

Unlike spanning cells, merging is an automatic feature. You tell the control which columns and rows allow cells to be combined automatically, and any cells within that set that have the same contents are combined for you

Click on the checkbox below to toggle Spread's merging feature.


 8:008:309:009:3010:0010:30
ABCExtreme Makeoverlife as we know itPrimeTime
CBSSurvivorCSI:Without a Trace
FOXThe O.CNorth Shore10PM NewsExtra
NBCJoeyWill & GraceThe ApprenticeER

Code for merging all Rows:
FpSpread1.Sheets(0).SetRowMerge(-1, FarPoint.Web.Spread.Model.MergePolicy.Always)