Demonstrates how to print multiple Table rows and columns with a script. To do this:

- select the Table object;

- go to "Properties" window and click the "Events" button to view a list of available events;

- doubleclick the "ManualBuild" event;

- you will see an empty event handler. You need to print rows using TableObject.PrintRow method; in each row, you must also print all columns (using PrintColumns method). See the script's code for more details.

When you run a report, the Table will repeat its rows and columns and fill them with data. Note that cell spans are handled automatically.

 
 
The multiplication table
1
2
3
4
5
6
7
8
9
10
1
1
2
3
4
5
6
7
8
9
10
2
2
4
6
8
10
12
14
16
18
20
3
3
6
9
12
15
18
21
24
27
30
4
4
8
12
16
20
24
28
32
36
40
 
Generated by FastReport .NET