cancel
Showing results for 
Search instead for 
Did you mean: 

Column value display wrong when export CSV in magento 2 admin UI component grid in magento 2

Column value display wrong when export CSV in magento 2 admin UI component grid in magento 2

In my custom module admin UI component data grid there is a one column is named "Status" all data display perfectly.

 

But my problem is when i export data then "Status" column value display 0 OR 1 because in DATABASE value is stored as 0 and 1

 

And what i want is When i export - then in csv file that status values should be 0 => Pending and for 1 => Active how can i achieve this.

 

Any help would be appreciated. Thanks.

Tags (1)