Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ask] Re-init kartik widget on Gridview after Pjax reload #1048

Open
donny26utama opened this issue Dec 7, 2022 · 1 comment
Open

[ask] Re-init kartik widget on Gridview after Pjax reload #1048

donny26utama opened this issue Dec 7, 2022 · 1 comment

Comments

@donny26utama
Copy link

I have added Datepicker using your widget kartik\date\DatePicker on Gridview's pjaxOptions -> beforeGrid.
On the first load, this widget works properly. but if I want to filter or change the page, after Pjax loading, this widget not works.
I have tried adding this widget to the panel, but the same result.
I have read some issues before, we need re-initialize after the event pjax:complete. But how to re-init your widget?

@newadventure079
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants