I need to widen CGridView column width for the “notes” field and I’ve checked out the Class reference and a discussion snippet in the forum on doing this, but I can’t get the following to work for my admin.php view:
The first cell is the one in the first row. The whole column must be same width, so you don’t need to specify width in other cells as it’s going to be ignored anyway.
If you have filters enabled and their position is set to ‘header’ so they are rendered above each column’s header you need to use filterHtmlOptions instead of headerHtmlOptions because that is the first row.
If you won’t specify the ‘value’ attribute the value will be read from an attribute specified in ‘name’.
As for Firebug, I’m not sure how to use it, but I loaded and opened it. I right-clicked on the “notes” header and selected “Inspect with Firebug”. That gave me 62px for that column appearing on the page. I guess something is being overwritten, but I don’t know enough yet to track it down.