Hello you all. Does anyone know if it’s possible to have a redirect on the Modal only.
Right now I have this scenario
After Insert or Update I want to redirect to a new Page where I can manage Files.
I am able to do a CallBack after Update or Insert like this:
$crud->callbackAfterUpdate(function ($stateParameters) {
$redirectResponse = new \GroceryCrud\Core\Redirect\RedirectResponse();
return $redirectResponse->setUrl(base_url().'/MyLibrary/index/' . $stateParameters->primaryKeyValue);
});
(Same for callbackAfterInsert)
But is it possible to have the redirectResponse redirect to the Modal? So I want to refresh the Modal with a new window to manage files for the given id ($stateParameters->primaryKeyValue)
Thanks for any idea or help.