Layer 220
PageTableCell
Table cell
constructor
pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Header | flags.0?true | Is this element part of the column header |
| AlignCenter | flags.3?true | Horizontally centered block |
| AlignRight | flags.4?true | Right-aligned block |
| ValignMiddle | flags.5?true | Vertically centered block |
| ValignBottom | flags.6?true | Block vertically-aligned to the bottom |
| Text | flags.7?RichText | Content |
| Colspan | flags.1?int | For how many columns should this cell extend |
| Rowspan | flags.2?int | For how many rows should this cell extend |
Returns
PageTableCellGogram Example
// Creating PageTableCell constructor obj := &tg.PageTableCell{ // Optional fields: // Header: true, // AlignCenter: true, // AlignRight: true, // ValignMiddle: true, // ... more optional fields }