Table

Info about design forms features
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Table

Postby PetrS » 16 Jul 2014, 07:21

size=150Table/size

Table is visual component used to format output to the grid, add borders, back color (brush) etc.

Table content is stored in TableCells.
You can access cells by its indexes: MyTablerow_indexcol_index
Note, that indexes are zero-based!

Defined cell values:
T00.Value = "Header one"; - text "Header one" will be placed to the 1st row and 1st column
T20.Value = "MyCellValue"; - text "MyCellValue" will be placed to the 3rd row and 1st column
T23.Value = 10; - value "10" will be placed to the 3rd row and 4th column

Table, TableRow, TableColumn and TableCell has various properties, which are used to customize table appearance.
Use intellisense to browse through Table objects properties.

See attached examples for more info.

:!: TableCell back color (brush) is available in version 5.2 and higher.
Attachments
TableBackColor.cls
(90.09 KiB) Downloaded 315 times
TableAlignment.cls
(22.84 KiB) Downloaded 290 times
Table_original.CLS
(74.74 KiB) Downloaded 319 times
Ing. Petr Slepicka

Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Re: Table

Postby PetrS » 17 Sep 2015, 11:51

size=150New table feature: ColSpan, RowSpan/size
Version: R 15.3.118 +

ColSpan and RowSpan are new properties of TableCell.
The property ColSpan ("how many across") and RowSpan ("how many down") indicate how many columns or rows a cell should take up. The value is integer.
Value <=1: no span occurs; Value >= 1: defines number of merged cells.

attachment=1
Table_ColSpan_RowSpan.png
Table_ColSpan_RowSpan.png (5.16 KiB) Viewed 3532 times
/attachment

See attached example for more info.
Attachments
Table_ColSpan_RowSpan.CLS
(22.87 KiB) Downloaded 267 times
Ing. Petr Slepicka

Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Return to “Design forms features”

Who is online

Users browsing this forum: No registered users and 7 guests