How to use a widget in CGridView Column?


there is a simple way to display a widget (it just renders a populated dropdown list, but it has several functions related to its OnChange event) inside a column of CGridView?

I’m playing with all the column configurations but I cannot find any tip on how implement a widget…



There is no simple way currently. You need to create a new column class by extending CGridColumn or CDataColumn.

I’m trying to use the “Time” extension I found on the Yii Extension’s site inside of a CGridView Column. Is this not possible without extending CGridView into my own class?

Essentially, I’m wanting to put the content of a certain column through a custom formatter.