artsoft / yii2-date-range-picker
dangrossman daterangepicker yii 2 gridview
Installs: 47
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:JavaScript
This package is not auto-updated.
Last update: 2025-03-05 12:33:40 UTC
README
Author vi mark https://github.com/webvimark/date-range-picker
Update Artur Markov
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist artsoft/yii2-date-range-picker "*"
or add
"artsoft/yii2-date-range-picker": "*"
to the require section of your composer.json
file.
Configuration
If input in GridView
use artsoft\widgets\DateRangePicker; <?php DateRangePicker::widget([ 'model' => $model, 'attribute' =>'created_at', 'format' => 'YYYY.MM.DD H:mm', 'opens' => 'left', ]) ?>