Currently there is LinkRowAction which allows extending the list of actions (using column_extra_row_actions) to include additional links (GET based). There is no way to add additional actions that require a form POST (e.g. how the delete actions works.). I suggest adding a new subclass of BaseListRowAction.
Currently there is
LinkRowAction
which allows extending the list of actions (usingcolumn_extra_row_actions
) to include additional links (GET
based). There is no way to add additional actions that require a formPOST
(e.g. how the delete actions works.). I suggest adding a new subclass ofBaseListRowAction
.For reference here is the bootstrap3 macro for delete: https://github.com/flask-admin/flask-admin/blob/e4d83a91cb2bebdaae8867221b6f56e4e23cf760/flask_admin/templates/bootstrap3/admin/model/row_actions.html#L25-L38
and this the macro for
LinkRowAction
: https://github.com/flask-admin/flask-admin/blob/e4d83a91cb2bebdaae8867221b6f56e4e23cf760/flask_admin/templates/bootstrap3/admin/model/row_actions.html#L3-L7