Is it possible to use Yii2 widgets like DatePicker or Select2 into a grid view expanded row since all widgets have the same id for all rows.The result is that the first row is ok but the others do not work.
Found the solution: specify ids for each widget with trailing $index obtained from detail closure:
‘options’ => [‘id’ => ” . $index ].
Nice result !
Great job Kartik.