Skip to content

Update documentation #243 - update the docs regarding 83e9387 (including the actions section) #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/backend/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ configuration. It can be overridden within each 'local' table template.
"confirmation": false,
"message": "Are you sure?",
"method": "GET/PUT/PATCH/POST/DELETE",
"selection": false,
"params": {
"first": "foo",
"second": "bar"
Expand Down Expand Up @@ -709,6 +710,7 @@ Depending on the chosen options, other parameters could be required:
when you want to customize the modal's message
- `method`: optional, string, should be given if you have `action` set as `ajax`,
available options are: `"GET"` / `"PUT`" / `"PATCH`" / `"POST`" / `"DELETE`"
- `selection`: works only on `selectable` tables - and it will send a payload with selected rows to the back-end. Buttons that have this set to `true` will only be rendered when a selection is made.
- `params`: optional, object, used if action = `router`, object is added to route params object

#### Columns
Expand Down