Gridview Expands

I am new in Yii framework, so you help me to do the gridview expanding. I want controller code and view code.

What do you mean with ‘gridview expanding’?

If you need standard controller and view code for a gridview / adminaction, you can generate it with gii.

See the actionAdmin of the generated controller.