|
»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:00 | 8:30 | 9:00 | 9:30 | 10:00 | 10:30 |
| ABC | Extreme Makeover | life as we know it | PrimeTime |
| CBS | Survivor | CSI: | Without a Trace |
| FOX | The O.C | North Shore | 10PM News | Extra |
| NBC | Joey | Will & Grace | The Apprentice | ER |
|
Code for merging all Rows:
FpSpread1.Sheets(0).SetRowMerge(-1,
FarPoint.Web.Spread.Model.MergePolicy.Always)