Hi, I’m new to Yii and am looking to see if there is a way to have a table on a page which is populated via ajax/pjax, on load and when filtered?
I see there is docs on pjax, but it only shows wrapping grid view around pjax start and end tags. Doesn’t specificy how it works and where it’s going to get the data to return. Also does it go in the controller or the view?
How to setup a pjax enabled gridview actioncolumn to display View in a modal? An example would help.
When I set data-target to the modal on index.php and href to controller/view, the modal dialog is displayed before the view, which is rendered on a new page. It does not update the modal.