P
P
Pavel Gogolinsky2016-11-15 00:20:00
Yii
Pavel Gogolinsky, 2016-11-15 00:20:00

How to filter by date range in gridview?

How to filter by date range in gridview?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2016-11-15
@webinar

Throw some widget like demos.krajee.com/date-range into the filter (there is even an autoUpdateOnInit just for gridView)
You can use a custom gridView from the same author demos.krajee.com/grid
Or use _search which generates a standard gii
and fix it ModelSearch, add two public variables $from, $to and adjust filterWhere according to them

D
Dmitry, 2016-11-15
@slo_nik

Goodnight.
Here is an article , in it look for "Search by date"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question