yiiGridView("applyFilter") function for ListView

Hi

I used yiiGridView(“applyFilter”) in the grid-view and it’s very useful to keep filtered data with the Ajax request .

But I need to use same function with ListView , Do we have same function for lisView?

Thanks

yii does not have this functionality for ListView’s since you can’t have filters for ListView using the default ListView widget, if you need to reload or load your ListView with ajax you can look into pjax its built for things like you trying to achieve

http://www.yiiframework.com/doc-2.0/yii-widgets-pjax.html