0
pointlevel created
Hi!
I have one modal that contains a datatable. I can press a button inside this modal to open another modal on top of the first one. My goal is to do a dataTable.ajax.reload(); when the second modal is closed. How do i fetch that event?
Im using the templates for creating the Modals, so modal-id is set programaticlly.
I can see there is something called onClose in the ModalManager API, but i cannot understand how to use it.
Thanks!
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
It has
onClosefunction which you can add your onClose handler function. You can usevar _myModal = new app.ModalManager({ ... }); _myModal.onClose(function(){ //do something });Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks, just what i needed :)
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)