Closed ry1980 closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In the example page, https://demos.krajee.com/export-demo-dtl/grid-basic the menu exports all the data, not only what is showed in the current grid page, but implementing it, the export menu only exports what is in the current page.
i have a form with 2 date field and other 2 field , i take this value to set the query and obtain the dataprovider... the grid shows the correct dataprovider but when i submit the export the file contains all record inside the table on db and not only the record filtered in the dataprovider... how can is it possible?
` public function searchReport($params) { $query = Trattativa::find();
`if(!empty($_POST)){ // $searchModel->load(Yii::$app->request->post()); $dataProvider = $searchModel->searchReport(Yii::$app->request->post());
in the view ` <?php