How to do nested modals

How to do nested modals

INTONEINTONE Posts: 153Questions: 58Answers: 6

I am seeing where it was suggested that nested editor instance (launch a modal within a modal) is possible:

http://datatables.net/forums/discussion/20001/nested-editor-plugin

but I am not seeing any clearing integrated code. Is there a code sample that shows how to do a nested editor or at offer a custom modal for look up purposes?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    There is no option for this in Editor at the moment. The display controllers are generally static (i.e. there can only be once instance of them). That is certainly true for the two built in types (lightbox and envelope), and I think also for the plug-in jQuery UI and Bootstrap options.

    As I noted in the other thread, if you wanted this ability you would need to create a new display controller which created a new modal for each Editor instance that is constructed. It is possible, but I don't have any example code showing how it can be done I'm afraid. I'm not aware of anyone else who has done this.

    Allan

This discussion has been closed.