title: Save data from gridview to another table yii2
body: <p>I have a gridview with filtered data. How can I export data to another table, like ExportMenu from kartik?</p>
  
  <pre><code>&lt;?= GridView::widget([
      'options' =&gt; ['width' =&gt; '70'],
      'dataProvider' =&gt; $dataProvider,
  
  echo ExportMenu::widget([
          'dataProvider' =&gt; $dataProvider,
          'columns' =&gt; $gridColumns
  ]);
  ?&gt;
  </code></pre>