-
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1787 from rappasoft/development
v3.3.2
- Loading branch information
Showing
17 changed files
with
734 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: View Component Columns | ||
weight: 14 | ||
--- | ||
|
||
View Component columns let you specify a component name and attributes and provide attributes to the View Component. This will render the View Component in it's entirety. | ||
|
||
```php | ||
|
||
ViewComponentColumn::make('E-mail', 'email') | ||
->component('email') | ||
->attributes(fn ($value, $row, Column $column) => [ | ||
'id' => $row->id, | ||
'email' => $value, | ||
]), | ||
``` | ||
|
||
Please also see the following for other available methods: | ||
<ul> | ||
<li> | ||
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/available-methods">Available Methods</a> | ||
</li> | ||
<li> | ||
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/column-selection">Column Selection</a> | ||
</li> | ||
<li> | ||
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/secondary-header">Secondary Header</a> | ||
</li> | ||
<li> | ||
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a> | ||
</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.