How to change file name when ExportBulkAction

when using this code it export with new name but without any record is exported Why ?
Was this page helpful?