SharpGrid Support

Started by BarbDCG at 01-15-2004 4:02 PM. Topic has 6 replies.

Print Search Rate
Sort Posts:    
   01-15-2004, 4:02 PM
BarbDCG is not online. Last active: 8/28/2004 10:00:56 AM BarbDCG

Not Ranked
Joined on 08-29-2004
Posts 13
Merging Cells

Is there any way to merge only certain ROWS instead of setting the mergefree for COLUMNS ONLY ???

I need only my column headers merged.

Thanks,
Barb


   Report 
   01-15-2004, 4:33 PM
stevena is not online. Last active: 9/26/2007 10:16:34 PM stevena

Top 10 Posts
Joined on 08-28-2004
Posts 2,700
Re: Merging Cells

Attachment: sgColumnMergeWorkAround.zip

Barb,

Thank you for the post.  Unfortunately, #Grid does not support column header merging.  You might be able to simulate it by using #Grid's Styles though.  I have attached a small running sample that should help you see a good approach to this.  Simply run the sample and press the "Click Me To Set Styles" button to see the Styles applied.

I hope this helps.  Please let me know if I can be of further assistance.  Thank you!


   Report 
   01-21-2004, 3:46 PM
BarbDCG is not online. Last active: 8/28/2004 10:00:56 AM BarbDCG

Not Ranked
Joined on 08-29-2004
Posts 13
Re: Merging Cells

Ok, I've run into a snag with your ColumnMergeWorkAround. Is there a way to make the 'merged' headers look something like this???

___________________________________
|_____Ending______|_____Average______|
|  Balance |  Rate      |   Income |  Expense |


This is driving me nuts, the merge functionality is the only thing holding us back from purchasing the #Grid.

Even if I don't use headers, Is there some way I can merge cells withing certain rows???  or text but not numbers??


   Report 
   01-22-2004, 12:27 PM
stevena is not online. Last active: 9/26/2007 10:16:34 PM stevena

Top 10 Posts
Joined on 08-28-2004
Posts 2,700
Re: Merging Cells

Attachment: ColumnMergeTwoHeadingRows.zip

BarbDCG,

Thank you for the post.  Unfortunately, #Grid does not support merging cells within columns. You may be able to simulate this activity though with #Grid's Styles.  I have attached a small sample as an attempt to produce this for you.  It may not provide the exact functionality that you are looking to provide your user with but it should help you get started. 

I hope this helps.  Please let me know if I can be of further assistance.  Thank you!


   Report 
   01-26-2004, 11:26 AM
BarbDCG is not online. Last active: 8/28/2004 10:00:56 AM BarbDCG

Not Ranked
Joined on 08-29-2004
Posts 13
Re: Merging Cells

Attachment: sample.jpg

Sorry I'm such a pest, but I just can't get this right....

is there any way to get it looking like the attached .jpg ?

I keep trying and just can't get it!



   Report 
   01-26-2004, 2:28 PM
BarbDCG is not online. Last active: 8/28/2004 10:00:56 AM BarbDCG

Not Ranked
Joined on 08-29-2004
Posts 13
Re: Merging Cells

Attachment: MergeCols.zip

Here is my feeble attempt. Can you show no grid lines for selected rows/cells?

Thanks.


   Report 
   01-26-2004, 7:49 PM
stevena is not online. Last active: 9/26/2007 10:16:34 PM stevena

Top 10 Posts
Joined on 08-28-2004
Posts 2,700
Re: Merging Cells

Attachment: ColumnMergeTwoHeadingRows2.zip

BarbDCG,

I have worked with the sample I posted previously and attached it here.  This sample does not actually show grid lines.  This helps give the simulated column headers a seamless look.  Instead, we simulate them by using cell borders.  You should be able to use the RowColChange event to achieve the look you want with regard to no gridlines for the selected rows/cells.  Again, this may not be the exact functionality that you are looking to provide your user with but it should help you get started. 

I hope this helps.  Please let me know if I can be of further assistance.  Thank you!


   Report 
GrapeCity » Product Support » SharpGrid Suppo... » Re: Merging Cells

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.