Hello,
Impossible for me to set up the grid export function of Kartik. The module is well installed, the kartik\gridView works well, the export menu is also displayed. When I select an export format (whatever) I have the export confirmation pop-in window that appears, but when I click on ok, I return to the homepage of the site, without file generation . There are no errors displayed (including js). My server configuration seems ok, I can write and send a file to the client browser in php (by modifying the content-type header). Below, the ultra minimalist test code on a view file. The features of this module are really great, and I wish it worked…
Thanks
////
$query000 = Hotel::find()->where(['pid' => 172]);
$provider000 = new ActiveDataProvider([
'query' => $query000,
]);
$columnExport = ['etoiles_h'];
echo ExportMenu::widget([
'dataProvider' => $provider000,
'columns' => $columnExport,
// 'clearBuffers' => true, //optional
]);
echo \kartik\grid\GridView::widget([
'dataProvider' => $provider000,
// 'filterModel' => $searchModel,
'columns' => $columnExport
]);