renderAjax() public method
Renders a view in response to an AJAX request. This method is similar to render() except that it will surround the view being rendered with the calls of beginPage(), head(), beginBody(), endBody() and endPage(). By doing so, the method is able to inject into the rendering result with JS/CSS scripts and files that are registered with the view. See also render().
public string renderAjax ( $view, $params = [], $context = null )$view string
The view name. Please r