kartik-v / yii2-grid

Enhanced GridView with various utilities for Yii Framework 2.0
http://demos.krajee.com/grid
Other
557 stars 302 forks source link

Export in file all records without pagination #994

Closed muramidaza closed 2 years ago

muramidaza commented 2 years ago

Is it possible to configure the component so that all records are output to a file when exported? For example, records are 2000. Records in the table are displayed with pagination, 500 records per page. But when exporting, all 2000 records should be included in the file.

kartik-v commented 2 years ago

Yes - but you need to use the kartik-v/yii2-export extension for that where your dataProviders can be different for the gridview and the export menu.