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?
I have added Datepicker using your widget
kartik\date\DatePicker
on Gridview'spjaxOptions -> 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 eventpjax:complete
. But how to re-init your widget?