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?
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?
<tbody>
<?= $form->field($megrendelt_r, 'termek_id')->widget(\unclead\widgets\MultipleInput::className(), [
'limit' => 6,
]) ?>
</tbody>
Thank you for your answers!