Closed SteveSimpson closed 6 years ago
I sent an email on this a long time ago, but no reply, so now I am posting a public ticket.
You could configure the filename in the ExportMenu::exportConfig['filename']
- it defaults to grid-export
- you could set it anything dynamic you need ... for example:
echo ExportMenu::widget([
'filename' => Yii::$app->user->id . '_' . date("Y-m-d-h-i-s") . '_grid-export',
// other settings
]);
runtime/export/grid-export.xls
(name different depending on format)