Join cells of StiTable

Stimulsoft Reports.NET discussion
Post Reply
simgschw
Posts: 73
Joined: Mon Jan 07, 2013 1:34 pm

Join cells of StiTable

Post by simgschw »

Hi,

I've already read the post of
Merge / Join StiTable Cells
but this post was not very helpful.

I tried joining in c# as it is done in the designer but this solution concerning the table width settings is not as flexible as I wanted to be.

Can you please show an example how joining cells works?

As a starting position the table has 4 cols with 4 rows.

The initial table looks like this:
initial_table.jpg
initial_table.jpg (5.74 KiB) Viewed 1005 times
Joining Width is not equal for each row. After joining table should look like this:
joined_table.jpg
joined_table.jpg (5.56 KiB) Viewed 1005 times

I would prefer if you don't answer my question with refering to anohter sample project. Please post the c# code you would use.


Thanks in advance.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Join cells of StiTable

Post by HighAley »

Hello.

You could create such table in the Designer and look at the Code tab.
The attached files are got from there. If you will compare the you will find out how to create the table with joined cells.

Thank you.
Attachments
TableWithJoinedCells.cs
(109.49 KiB) Downloaded 270 times
Table.cs
(108.17 KiB) Downloaded 230 times
Post Reply