In this code how can I add a DatePicker method for the user to search for ( Start_date ) and ( end_date )
<p>This code is in view, with him I can search only the dates coming from the database , I would add a method where you do the research ( Start_date ) and ( end_date ).</p>

<pre><code>&lt;?= GridView::widget([
                    'dataProvider' =&gt; $dataProvider,
                    'filterModel' =&gt; $searchModel,
                    'formatter' =&gt; ['class' =&gt; 'yii\i18n\Formatter','nullDisplay' =&gt; ''],
                    'columns' =&gt; [
                        //['class' =&gt; 'yii\grid\SerialColumn'],
                        [
                        'attribute' =&gt; 'date',
                            'content' =&gt; function(SaleItems $model, $key, $index, $column) {
                                return $model-&gt;sale-&gt;date;
                                },
                            'header' =&gt; 'DATA',
                        ],
</code></pre>