datatables editor how to close modal programmatically
datatables editor how to close modal programmatically
This question has an accepted answers - jump to answer
This discussion has been closed.
This question has an accepted answers - jump to answer
Answers
The
close()
method should do it.Allan
Hi @xfloyd ,
Try
That should do the trick.
Cheers,
Colin
Hi Colin,
That did not do anything in bootstrap 3
Hi @xfloyd ,
Have you tried Allan's suggestion above?
If so, and still no joy, for me, when I go to this example, select a line and press "Edit", a modal dialogue pops up. When I run that command in the console it closes the modal window.
Could you link to an example of your modal dialogue where this doesn't work, please.
Cheers,
Colin
Hi Colin, Allan's suggestion above did work fine. Thanks for all your help.