Hello Raju,
You should be able to merge cells with Spread 2.5 (latest build).To set cells to be merged if they have the same value, use the following members:
GetColumMerge and SetColumMerge
GetRowMerge and SetRowMerge
GetMergePolicy and SetMergePolicy
for example:
Dim Sheet0 As FarPoint.Win.Spread.SheetView
Sheet0 = SetRowMerge(-1,
FarPoint.Win.Spread.Model.MergePolicy.Always)
Sheet0.ColumnCount = 10
Sheet0.SetColumnMerge(-1,
FarPoint.Win.Spread.Model.MergePolicy.Always)
I hope it will help you.
Thanks,
Deepak Sharma
GrapeCity FarPoint