Layer 220
PageBlockTable
Table
constructor
pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector<PageTableRow> = PageBlock;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Bordered | flags.0?true | Does the table have a visible border? |
| Striped | flags.1?true | Is the table striped? |
| Title | RichText | Title |
| Rows | Vector<PageTableRow> | Table rows |
Returns
PageBlockGogram Example
// Creating PageBlockTable constructor obj := &tg.PageBlockTable{ Title: &tg.RichText{}, Rows: []tg.PageTableRow{&tg.PageTableRow{}}, // Optional fields: // Bordered: true, // Striped: true, }