Hello,
I need to fetch modelname of the calling dataprovider, inside the GridView->initColumns() function; whenever a GridView::widget is used any of the index pages.
Hello,
I need to fetch modelname of the calling dataprovider, inside the GridView->initColumns() function; whenever a GridView::widget is used any of the index pages.
Unverified, but this might work:
$dataProvider->query->modelClass