Open modal with button

Is it possible to open an active window with a button in a custom admin page ?
I know that these are meant to be attached to ngRestList but I have a custom admin page where I am doing my own search and list feature and I need to open an active window linked to a result row…

Hi @rochdi

So you like to open a modal, inside of a modal? Or is it more about modals in your custom template?

We have created a modal directive, take a look at the “documentation” here: luya-module-admin/directives.js at master · luyadev/luya-module-admin · GitHub

Does that help?

Hi @nadar
Actually I wanted to open an ActiveWindow that is normally attached to ngRestList…
So want to know how to add it to a custom page and show it by pressing a button…
I might may be think of putting my common logic on a class that I extend for my ActiveWindow and for a Modal…
I’ll give it a try and come back with my solution for anyone else who might need it