Hi,
I’m using CGridview to display all the values of a table, but I would like to change the size of each cell individually, say first column only 5px width, second 20px width, third 30px , etc.
Is this possible ?
cheers,
B.
Hi,
I’m using CGridview to display all the values of a table, but I would like to change the size of each cell individually, say first column only 5px width, second 20px width, third 30px , etc.
Is this possible ?
cheers,
B.
CDataColumn::$headerHtmlOptions
hi,
array(
'name' => 'Status',
'type' => 'raw',
'value' => '$data["id"]',
'htmlOptions' => array('width' => '50px')
),
Yii Help
Brilliant!, thanks all.
B.