## Expected behavior and actual behavior
The first gridview expands correctly, but the second one does not. The buttons are not working.
## Environment
#### Browsers
- [ x] Google Chrome
- [ ] Mozilla Firefox
- [ ] Internet Explorer
- [ ] Safari
#### Operating System
- [x ] Windows
- [ ] Mac OS X
- [ ] Linux
- [ ] Mobile
#### Libraries
- jQuery version: 3.6
- yii2-grid version: 3.5.3
## Isolating the problem
- [ ] This bug happens [on the demos page](https://demos.krajee.com/grid-demo)
- [ ] The bug happens consistently across all tested browsers
- [ x] This bug happens when using yii2-grid without other plugins.
Prerequisites
master
branch of yii2-grid.Steps to reproduce the issue
$models2 = [['id' => 3, 'name' => 'test 3 level 2', 'level' => 2], ['id' => 4, 'name' => 'test 4 level 2', 'level' => 2]];
$dataProvider1 = new \yii\data\ArrayDataProvider(['allModels' => $models1]); $dataProvider2 = new \yii\data\ArrayDataProvider(['allModels' => $models2]);
echo GridView::widget([ 'dataProvider' => $dataProvider1, 'columns' => [ 'id', 'name', 'level', [ 'columnKey' => uniqid(), 'class' => \kartik\grid\ExpandRowColumn::class, 'value' => function ($model, $key, $index, $column) { return \kartik\grid\GridView::ROW_COLLAPSED; }, 'detail' => function ($model, $key, $index, $column) use ($dataProvider2) { return \kartik\grid\GridView::widget([ 'dataProvider' => $dataProvider2, 'columns' => [ 'id', 'name', 'level', [ 'columnKey' => uniqid(), 'class' => \kartik\grid\ExpandRowColumn::class, 'value' => function ($model, $key, $index, $column) { return \kartik\grid\GridView::ROW_COLLAPSED; }, 'detail' => function ($model, $key, $index, $column) { return 'Extra row'; }, ], ], ]); }, ], ], ]);