Skip to content

Commit d614186

Browse files
authored
3.3.0 - Docs Update (rappasoft#1768)
* Adjust column documentation (rappasoft#1767) --------- Co-authored-by: lrljoe <[email protected]>
1 parent f642ce0 commit d614186

18 files changed

+301
-31
lines changed

docs/column-types/array_column.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Array Columns (beta)
3-
weight: 1
3+
weight: 2
44
---
55

66
Array columns provide an easy way to work with and display an array of data from a field.
@@ -19,4 +19,20 @@ You may define the default/empty value using the "emptyValue" method
1919
```
2020
ArrayColumn::make('notes', 'name')
2121
->emptyValue('Unknown'),
22-
```
22+
```
23+
24+
Please also see the following for other available methods:
25+
<ul>
26+
<li>
27+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods">Available Methods</a>
28+
</li>
29+
<li>
30+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection">Column Selection</a>
31+
</li>
32+
<li>
33+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header">Secondary Header</a>
34+
</li>
35+
<li>
36+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
37+
</li>
38+
</ul>

docs/column-types/avg_column.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Avg Columns (beta)
3-
weight: 2
3+
weight: 3
44
---
55

66
Avg columns provide an easy way to display the "Average" of a field on a relation.
@@ -11,4 +11,20 @@ Avg columns provide an easy way to display the "Average" of a field on a relatio
1111
->sortable(),
1212
```
1313

14-
The "sortable()" callback can accept a callback, or you can use the default behaviour, which calculates the correct field to sort on.
14+
The "sortable()" callback can accept a callback, or you can use the default behaviour, which calculates the correct field to sort on.
15+
16+
Please also see the following for other available methods:
17+
<ul>
18+
<li>
19+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods">Available Methods</a>
20+
</li>
21+
<li>
22+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection">Column Selection</a>
23+
</li>
24+
<li>
25+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header">Secondary Header</a>
26+
</li>
27+
<li>
28+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
29+
</li>
30+
</ul>

docs/column-types/boolean_columns.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Boolean Columns
3-
weight: 3
3+
weight: 4
44
---
55

66
Boolean columns are good if you have a column type that is a true/false, or 0/1 value.
@@ -79,3 +79,19 @@ If you would like the BooleanColumn to display a plain Yes/No, you can set:
7979
BooleanColumn::make('Active')
8080
->yesNo()
8181
```
82+
83+
Please also see the following for other available methods:
84+
<ul>
85+
<li>
86+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods">Available Methods</a>
87+
</li>
88+
<li>
89+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection">Column Selection</a>
90+
</li>
91+
<li>
92+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header">Secondary Header</a>
93+
</li>
94+
<li>
95+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
96+
</li>
97+
</ul>

docs/column-types/button_group_column.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Button Group Columns
3-
weight: 4
3+
weight: 5
44
---
55

66
Button group columns let you provide an array of LinkColumns to display in a single cell.
@@ -32,3 +32,10 @@ ButtonGroupColumn::make('Actions')
3232
}),
3333
]),
3434
```
35+
36+
37+
Please also see the following for other available methods:
38+
- [https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods](Available Methods)
39+
- [https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection](Column Selection)
40+
- [https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header](Secondary Header)
41+
- [https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer](Footer)

docs/column-types/color_columns.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Color Columns
3-
weight: 5
3+
weight: 6
44
---
55

66
Color columns provide an easy way to a Color in a Column
@@ -39,3 +39,19 @@ You may also specify attributes to use on the div displaying the color, to adjus
3939
];
4040
}),
4141
```
42+
43+
Please also see the following for other available methods:
44+
<ul>
45+
<li>
46+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods">Available Methods</a>
47+
</li>
48+
<li>
49+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection">Column Selection</a>
50+
</li>
51+
<li>
52+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header">Secondary Header</a>
53+
</li>
54+
<li>
55+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
56+
</li>
57+
</ul>

docs/column-types/component_column.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Component Columns
3-
weight: 6
3+
weight: 7
44
---
55

66
Component columns let you specify a component name and attributes and provides the column value to the slot.
@@ -26,3 +26,18 @@ ComponentColumn::make('E-mail', 'email')
2626
]),
2727
```
2828

29+
Please also see the following for other available methods:
30+
<ul>
31+
<li>
32+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods">Available Methods</a>
33+
</li>
34+
<li>
35+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection">Column Selection</a>
36+
</li>
37+
<li>
38+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header">Secondary Header</a>
39+
</li>
40+
<li>
41+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
42+
</li>
43+
</ul>

docs/column-types/count_column.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Count Columns (beta)
3-
weight: 7
3+
weight: 8
44
---
55

66
Count columns provide an easy way to display the "Count" of a relation.
@@ -11,4 +11,20 @@ Count columns provide an easy way to display the "Count" of a relation.
1111
->sortable(),
1212
```
1313

14-
The "sortable()" callback can accept a callback, or you can use the default behaviour, which calculates the correct field to sort on.
14+
The "sortable()" callback can accept a callback, or you can use the default behaviour, which calculates the correct field to sort on.
15+
16+
Please also see the following for other available methods:
17+
<ul>
18+
<li>
19+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods">Available Methods</a>
20+
</li>
21+
<li>
22+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection">Column Selection</a>
23+
</li>
24+
<li>
25+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header">Secondary Header</a>
26+
</li>
27+
<li>
28+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
29+
</li>
30+
</ul>

docs/column-types/date_columns.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Date Columns
3-
weight: 8
3+
weight: 9
44
---
55

66
Date columns provide an easy way to display dates in a given format, without having to use repetitive format() methods or partial views.
@@ -26,3 +26,18 @@ DateColumn::make('Last Charged', 'last_charged_at')
2626
->emptyValue('Not Found'),
2727
```
2828

29+
Please also see the following for other available methods:
30+
<ul>
31+
<li>
32+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods">Available Methods</a>
33+
</li>
34+
<li>
35+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection">Column Selection</a>
36+
</li>
37+
<li>
38+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header">Secondary Header</a>
39+
</li>
40+
<li>
41+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
42+
</li>
43+
</ul>

docs/column-types/image_columns.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Image Columns
3-
weight: 9
3+
weight: 10
44
---
55

66
Image columns provide a way to display images in your table without having to use `format()` or partial views:
@@ -24,3 +24,19 @@ ImageColumn::make('Avatar')
2424
'alt' => $row->name . ' Avatar',
2525
]),
2626
```
27+
28+
Please also see the following for other available methods:
29+
<ul>
30+
<li>
31+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods">Available Methods</a>
32+
</li>
33+
<li>
34+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection">Column Selection</a>
35+
</li>
36+
<li>
37+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header">Secondary Header</a>
38+
</li>
39+
<li>
40+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
41+
</li>
42+
</ul>

docs/column-types/link_columns.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Link Columns
3-
weight: 10
3+
weight: 11
44
---
55

66
Link columns provide a way to display HTML links in your table without having to use `format()` or partial views:
@@ -22,3 +22,19 @@ LinkColumn::make('Action')
2222
'alt' => $row->name . ' Avatar',
2323
]),
2424
```
25+
26+
Please also see the following for other available methods:
27+
<ul>
28+
<li>
29+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods">Available Methods</a>
30+
</li>
31+
<li>
32+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection">Column Selection</a>
33+
</li>
34+
<li>
35+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header">Secondary Header</a>
36+
</li>
37+
<li>
38+
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
39+
</li>
40+
</ul>

0 commit comments

Comments
 (0)