title: One search form to 3 Gridview in same page
body: <p>Friends,</p>
  
  <p>I have an INDEX page with 3 GRIDVIEW components (model Keys, model Products, model Indicators). And on that same page I have a search form with a dropdownlist (company).</p>
  
  <p>I need to: When you select for example company 02 the 3 GRIDVIEW are filtered only company records 02.</p>
  
  <p><strong>_search.php</strong></p>
  
  <pre><code>&lt;?php
  
  use yii\helpers\Html;
  use yii\widgets\ActiveForm;
  use kartik\date\DatePicker;
  ?&gt;
  
  &lt;div class="ideas-search"&gt;
  
      &lt;?php $form = ActiveForm::begin([
          'options' =&gt; [
                      'class' =&gt; 'form-inline',
                      ],
          'action' =&gt; ['index'],
          'method' =&gt; 'get',
      ]); ?&gt;
  
      &lt;?= $form-&gt;field($model, 'pa')-&gt;dropdownList([..])?&gt;
  
  ...
  </code></pre>
  
  <p><strong>index.php</strong></p>
  
  <pre><code>&lt;?php echo $this-&gt;render('_search', ['model' =&gt; $searchBase]); ?&gt;
  
          &lt;?php Pjax::begin(['id' =&gt; '1']) ?&gt;
          &lt;?= GridView::widget([
              'id' =&gt; 'grid1',
              'dataProvider' =&gt; $dataProviderKey,
              'columns' =&gt; [
                  ...
              ],
          ]); ?&gt;
          &lt;?php Pjax::end() ?&gt;
  
          &lt;?php Pjax::begin(['id' =&gt; '2']) ?&gt;
          &lt;?= GridView::widget([
              'id' =&gt; 'grid2',
              'dataProvider' =&gt; $dataProviderProduct,
              'columns' =&gt; [
                  ...
              ],
          ]); ?&gt;
          &lt;?php Pjax::end() ?&gt;
  
          &lt;?= GridView::widget([
              'dataProvider' =&gt; $dataProviderIndicators,
              'summary' =&gt; false,
              'columns' =&gt; [
                  ...
              ],
          ]); ?&gt;
  </code></pre>
  
  <p><strong>== UPDATE==</strong> </p>
  
  <p>BaseController</p>
  
  <pre><code>public function actionIndex()
  {
      $searchBase = new BaseSearch();
      $searchBase-&gt;pa = 0;
      $searchBase-&gt;data = date("Y-m-d");
      $dataProviderBase = $searchBase-&gt;search(Yii::$app-&gt;request-&gt;queryParams);
  
      $searchMobilizadores = new MobilizadoresSearch();
      $dataProviderMobilizadores = $searchMobilizadores-&gt;search(Yii::$app-&gt;request-&gt;queryParams);
  
      $searchIndicadores = new IndicadoresSearch();
      $dataProviderIndicadores = $searchIndicadores-&gt;search(Yii::$app-&gt;request-&gt;queryParams);
  
      return $this-&gt;render('index', [
          'searchBase' =&gt; $searchBase,
          'dataProviderBase' =&gt; $dataProviderBase,
          'searchMobilizadores' =&gt; $searchMobilizadores,
          'dataProviderMobilizadores' =&gt; $dataProviderMobilizadores,
          'searchIndicadores' =&gt; $searchIndicadores,
          'dataProviderIndicadores' =&gt; $dataProviderIndicadores,
      ]);
  }
  </code></pre>