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

yii2 listview. How to filter?

Hey!
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)
V
Vladimir Varlamov, 2018-03-27
@rafamont

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

V
vyachin, 2015-04-13
@vyachin

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