Need a hint.
There is a CGridView with columns of type number, date and time, name.
It is necessary to make a sample for the period, i.e. You need two fields for entering the upper and lower time limits through the CJuiDatePicker widget.
The usual setting of the filter parameter assumes one input field (or one drop-down list, or one calendar).

  1. How to make two input fields?
  2. How to make CGridView work with this?

    1 answer 1

    The YiiBooster package for ranges uses the TbDateRangePicker widget, and it uses this js library. Both the upper and lower boundaries are entered in one filter field with a separator "-". And then - the matter of technology. If the model is built with gii, parsing and substitution of conditions is done in the search() method.