Exportmenu with custom _form

Hello guys, thanks for this amazing space =)

Im using exportmenu from Kartik and this works cool. But for search and filter data im not using the default filters of the Kartik\gridview (filterModel)… i have another view for this ("_search" connected to elasticsearch), and when i want to export my data to excel, pdf or any file this not export my results filtered, just send a new request with other params

How can i export my data with my current dataProvider?

Sorry my english is not good