Yii2 Modal and The Pagination of a GridView

Hi guys,

I just created a modal where I need to select an entry in a gridview, the modal works great and was really easy to do.

The issue is that whent I click in the pagination on the gridview that is inside the modal, the modal closes.

Any way to change the page without closing the modal ?

Thanks in advance !

Issue may found due to same id for both modal and gridview. so check it, use different ‘id’ for Gridview and Modal Popup.