Skip to content

Commit 9a47f31

Browse files
committed
Add docs for print column.
1 parent cbe9388 commit 9a47f31

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

print-column.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,22 @@
22

33
You can print a column customised header if manually set.
44

5-
<a name="blade"></a>
6-
## Print Column
5+
<a name="print-column-with-title"></a>
6+
## Print Columns with Custom Title
77

88
```php
9-
protected $printColumns = [
10-
['data' => 'email', 'title' => 'Registered Email],
11-
];
9+
protected $printColumns = [
10+
['data' => 'name', 'title' => 'Name'],
11+
['data' => 'email', 'title' => 'Registered Email'],
12+
];
13+
```
14+
15+
<a name="print-column"></a>
16+
## Print Columns
17+
18+
```php
19+
protected $printColumns = [
20+
'name',
21+
'email',
22+
];
1223
```

0 commit comments

Comments
 (0)