title: Yii2 drop down pagination in GridView
body: <p>I want to make dorpdown pagination in yii2 gridview.
  I tried this in my GridView, but don't clear what should the next step I do to do.</p>
  
  <pre><code>&lt;label&gt;
  &lt;?=     
      $form-&gt;field($model, 'pagesize')
      -&gt;dropDownList(
          ["1"=&gt;"1","10"=&gt;"10","25"=&gt;"25","50"=&gt;"50","100"=&gt;"100"],               
          )-&gt;label(''); 
      ?&gt;&amp;nbsp;&amp;nbsp;records per page
  &lt;/label&gt;
  </code></pre>