2019-06-23 13:07:51 +02:00
|
|
|
---
|
|
|
|
title: pageBlockTable
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Table
|
2019-06-23 13:07:51 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: pageBlockTable
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Table
|
2019-06-23 13:07:51 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|bordered|[Bool](../types/Bool.md) | Optional|Does the table have a visible border?|
|
|
|
|
|striped|[Bool](../types/Bool.md) | Optional|Is the table striped?|
|
2019-06-23 13:07:51 +02:00
|
|
|
|title|[RichText](../types/RichText.md) | Yes|Title|
|
|
|
|
|rows|Array of [PageTableRow](../types/PageTableRow.md) | Yes|Rows|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [PageBlock](../types/PageBlock.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$pageBlockTable = ['_' => 'pageBlockTable', 'bordered' => Bool, 'striped' => Bool, 'title' => RichText, 'rows' => [PageTableRow, PageTableRow]];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
pageBlockTable={_='pageBlockTable', bordered=Bool, striped=Bool, title=RichText, rows={PageTableRow}}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|