ExportToCSVFromList for Yii2 Extention

Hello,

I am trying to re-use ExportToCSVFromList that works in Yii1.1 with something similar for Yii2.

Is there any same as ExportToCSVFromList method for Yii2?

Have you looking into GridView - © Kartik?

This may be something that is easy enough to write on your own - there is already code written for 1.1 that should be easy to modify to 2 at simple CSV export | Wiki | Yii PHP Framework.