AUN2015-04-12 16:14:36
AUN, 2015-04-12 16:14:36

yii2 listview. How to filter?

There is an output of the data in ListView. It works, everything is ok. You need to add ajax filtering on a specific field. How to do it? I ask for an example.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Vladimir Varlamov, 2018-03-27

And what exactly is this? Regular slider. https://owlcarousel2.github.io/OwlCarousel2/ for example

vyachin, 2015-04-13

There is an example here https://github.com/samdark/yii2-shop/blob/master/b... The line is indeed commented out, but if you remove the comment, filtering will appear. The example uses a GridView, but with a ListView everything will be the same. If you need to update via ajax, you can fasten pjax, there is an example habrahabr.ru/post/225823

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question