title: Yii2 - Kartik Grid Extension Error
body: <p>I have made many attempts to install Kartik Grid Extension, but all of them failed due to this error:</p>
  
  <p>Setting unknown property: yii\bootstrap\ButtonDropdown::containerOptions</p>
  
  <p>The error is located in /Applications/MAMP/htdocs/business/vendor/yiisoft/yii2/base/Component.php</p>
  
  <p>at line 197</p>
  
  <p>My view as the code:</p>
  
  <pre><code>use kartik\grid\GridView;
  
  &lt;?= GridView::widget([
      'dataProvider' =&gt; $dataProvider,
      'filterModel' =&gt; $searchModel,
      'columns' =&gt; [
          ['class' =&gt; 'yii\grid\SerialColumn'],
  
          'id',
          'nome',
          'email:email',
          'telefone',
          'mensagem:ntext',
  
          ['class' =&gt; 'yii\grid\ActionColumn'],
      ],
  ]); ?&gt;
  </code></pre>
  
  <p>and configured modules in web.php has:</p>
  
  <pre><code>'gridview' =&gt;  [
      'class' =&gt; '\kartik\grid\Module'
      // enter optional module parameters below - only if you need to  
      // use your own export download action or custom translation 
      // message source
      // 'downloadAction' =&gt; 'gridview/export/download',
      // 'i18n' =&gt; []
      ],
  </code></pre>
  
  <p>Also updated composer with sudo update composer.</p>
  
  <p>Any idea what is causing this error, i can't find a solution for hours!</p>
  
  <p>I need a grid that can export to Excel and PDF. I have installed mpdf extension as well.</p>
  
  <p>Many thanks.</p>