Skip to content
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