Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88066

Yii2 kartik export to excel cell format

$
0
0

I'm using kartik export widget for exporting my grid view in excel. I am able to export all the data but there is an issue, I have a column name imsi which is in text, but after exporting it this column is having all the same numbers i.e. all the IMSI numbers are same. See below

enter image description here

enter image description here

Grid Columns

 $gridColumns =[
                [
                    'class'=>'kartik\grid\SerialColumn',

                ],
                 'id',
                ['attribute'=>'imsi','format'=>'text'],
                'sim_number'
  ]

How can I set the correct format? Any help would be highly appreciated.


Viewing all articles
Browse latest Browse all 88066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>