C
C
cat_crash2015-01-20 18:59:37
Yii
cat_crash, 2015-01-20 18:59:37

Yii. How to correctly call CButtonColumn from CGridView?

I want to make a CGridView with buttons located under the data
e9e3ffc7e5e54c858258f174042cd5b8.png
. To do this, I made MyCGridView by inheriting CGridView, changing a little renderTableRow($row)
Tell me how to call the display of buttons through CButtonColumn ?
In the native CGridView, the view construct Yii::createComponent($row,$this);
but what parameters to pass to it so that the function returns the ready-made HTML code for displaying buttons?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question