A
A
Alexander Razumov2016-02-01 19:53:30
MySQL
Alexander Razumov, 2016-02-01 19:53:30

How to make such a filter on laravel 5.2 stateful?

Tell me how and with what tools, methods to make a filter as in the screenshot. You need pagination to save the filter. The filter should search the database, not the frontend data. Those. jquery plugins probably won't help here. Hypothetically, I can imagine how to do this, but I don’t want to ride a bike)
e2de064d0d3048eab44932b4cef879cd.png
I would be grateful for your help!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dave, 2016-02-01
@razumovsu

In general, such components (Grid View) are in all frameworks, somewhere right out of the box, somewhere they are installed separately.
Use this package for Laravel 5.x

Z
Zend_Arbitr, 2016-02-11
@Zend_Arbitr

You just need to display the paginator correctly

$myPaginator->appends(['sortBy'=>$sortBy,'filterBy' => $filterBy, 'perPage' =>$perPage, 'search'=> $search])
       ->setPath("Если надо здесь базовый uri")))
       ->render()

Those. all this data will please get parameters on each page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question