CGridView define column width/height [Solved]

Add the following code into the column definition of CGridView

    'htmlOptions'=>array(
                    'width'=>'60',
                    'style'=>'text-align:center',
                 )),

Leave a Reply