Include functionality to add table buttons - #47
Open
happymacarts wants to merge 7 commits into
Open
Conversation
Add double click event
Update scripts.blade.php
add buttons parameter to config object to allow Table "buttons" to be specified on model
added documentation for Buttons on Table model
Contributor
|
When you add the buttons, you can't use the translator. Moving it to a method would be better. public function buttons() : array
{
return [];
} |
Contributor
Author
|
I have been trying to get this to work but am missing something (I am sure simple) |
Contributor
|
@happymacarts you can add new methods in the abstract class |
added table buttons array to config
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds ability for users to include table buttons on the model Fixes #46
more info about buttons options can be found here https://datatables.net/reference/button/