[openstack-dev] [Horizon][DataTables] how to generate a confirmation dialog

John Calcote john.calcote at gmail.com
Sat Nov 5 03:26:53 UTC 2016

Hi all -

I don't see a better forum anywhere for this post - please correct me
if I'm wrong.

I have a django/horizon application. On one page users may delete
objects. I'd like to display a modal dialog confirming the delete
before submit. Can anyone tell me if there's a way to tie a
confirmation dialog to a table's DeleteAction?

Note - my template is a trivial table.render with multi-select enabled - e.g.,

{% block main %}
    {{ table.render }}
{% endblock %}

I've searched the docs and the code, but nothing sticks out at me. I'm
not a client-side expert, but I can usually find my way around in the
chrome debugger.


More information about the OpenStack-dev mailing list