Assume that you have teachers and students model.
Assume that you have teachers and students model.
This wiki shows about how to make a custom column or how to pass php-Yii-html code in CButtonColumn (as a button)
The export to excel function will affected by the final resorted columns in case you use my export grid to excel extends hzlexportgrid too, Since that export extention just depends on the grid columns configs, and that columns been customized by user themselves just now.