Tuesday, August 19, 2008  



 FarPoint Technologies
 (800) 645-5913

 fpsales@fpoint.com



     
 »Spread for Web Forms » Product Tour » Cell Merging

Previous Cell Merging Next

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.


 OrderIDProductNameQuantityUnitPrice
110248Queso Cabrales1214
2Singaporean Hokkien Fried Mee109.8
3Mozzarella di Giovanni534.8
410249Tofu918.6
5Manjimup Dried Apples4042.4
610250Jack's New England Clam Chowder107.7
7Manjimup Dried Apples3542.4
8Louisiana Fiery Hot Pepper Sauce1516.8
910251Gustaf's Knäckebröd616.8
10Ravioli Angelo1515.6
11Louisiana Fiery Hot Pepper Sauce2016.8
1210252Sir Rodney's Marmalade4064.8
13Geitost252
14Camembert Pierrot4027.2
1510253Gorgonzola Telino2010
16Chartreuse verte4214.4
17Maxilaku4016
1810254Guaraná Fantástica153.6
19Pâté chinois2119.2
20Longlife Tofu218
   

Code for merging Column 0:
FpSpread1.Sheets(0).SetColumnMerge(0, FarPoint.Web.Spread.Model.MergePolicy.Always)



 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)
    
 Have a question?
Have a Question? Ask Us!
Subscribe to the RSS feed!RSS Subscribe
 

 
Learn about the new Roadshow now!

Tour Home
AJAX Support
Cell Merging
Conditional Formatting
Customer Usability
Customization
Data Binding
Editing
Excel Compatibility
Filtering
Formulas
Frozen Rows & Columns
Grouping
Hierarchy
Import / Export
Interaction
Load on Demand
Move Columns
Object Model
Operation Modes
Optimizing
Order Entry Sample
Protect that Data
Searching
Sheets
Skins
Sorting
Spread Designer
Unbound Mode
Worksheet
Please rate tour

Copyright © 1991-2007 FarPoint Technologies, Inc. All rights reserved. All names are property of their respective owners.