Yii2 add/remove rows in GridView
<p>I am using GridView to list data in my application but today i realized that i need dynamicalli add/remove rows to/from this list. I found some javascript to do this but this is not very elegant. 
I googled for an extension or module like Karje's GridView extension but ther aren't that much. 
What do you use for this kind of task or what do you think what is the most simpliest way to make this? </p>

<p>I tried unclead/yii2-multiple-input package. It is so great but instead of ActiveForm I need to use Html::dopDownList elements. Is it a way somehow to use with it? </p>

<pre><code>&lt;tbody&gt;
      &lt;?= $form-&gt;field($megrendelt_r, 'termek_id')-&gt;widget(\unclead\widgets\MultipleInput::className(), [
           'limit' =&gt; 6,
      ]) ?&gt;
      &lt;/tbody&gt;
</code></pre>

<p>Thank you for your answers!</p>