yii ccsv download

I am using [yii extension: ExportableGridBehavior] to download csv.

It generate csv with data values same as field in table. But I want modified value.

[font="Franklin Gothic Medium"][color="#8B0000"]Like table field have value 1,2,3 and I want FIRST, SECOND, THIRD instead of table value.[/color][/font]

Do anybody could help me with this.


I would probably create a formatter method that would interpret those values the way you want them, then apply that new format to those cells in the grid.