Skip to content

Bulk Actions and Error Handling -- What are our options? #1035

Closed Answered by lrljoe
SimonMacIntyre asked this question in Q&A
Discussion options

You must be logged in to vote

You can add a view to any of the following configurable areas. before-toolbar is likely to be your friend here!

public function configure(): void
{
  $this->setConfigurableAreas([
    'toolbar-left-start' => 'path.to.my.view',
    'toolbar-left-end' => 'path.to.my.view',
    'toolbar-right-start' => 'path.to.my.view',
    'toolbar-right-end' => 'path.to.my.view',
    'before-toolbar' => 'path.to.my.view',
    'after-toolbar' => 'path.to.my.view',
    'before-pagination' => 'path.to.my.view',
    'after-pagination' => 'path.to.my.view',
  ]);
}

There's a map of where they relate to at the bottom of this page:

https://rappasoft.com/docs/laravel-livewire-tables/v2/datatable/configurable-areas

Replies: 3 comments 1 reply

Comment options

lrljoe
Feb 1, 2023
Collaborator Sponsor

You must be logged in to vote
1 reply
@SimonMacIntyre
Comment options

Answer selected by SimonMacIntyre
Comment options

You must be logged in to vote
0 replies
Comment options

lrljoe
Feb 1, 2023
Collaborator Sponsor

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants