Articles tagged with "cbuttoncolumn", sorted by date (updated)X
Displaying 1-4 of 4 result(s).

Yii 1.1: Cgridview: Use Special Variable $Data In The Options Of A Button (I.e. Evaluate Options Attribute)

Updated about a year ago by Louis GacTutorials1 comment – viewed 7,072 times – ( +6 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew

Using CButtonColumn to customize buttons in CGridView

Updated 2 years ago by GismoHow-tos18 comments – viewed 242,338 times – ( +99 ) – version 1.1
CGridView is a one of most flexible widgets in Yii and example its flexibility is CButtonColumn used to build buttons for steering model in each grid row. Here in this how-to we will explain ways user can customize CButtonColumn to flexibly fit it to its needs.

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Updated 3 years ago by bluezedTutorials5 comments – viewed 26,060 times – ( +10 / -1 ) – version 1.1
In an application I had a CGridView with a CButtonColumn and for an Ajax-Request I needed to make sure that the IDs of the buttons would not change when the GridView was updated so in effect I wanted to link them to the $data->id. So I tried:

Change buttons on our CGridView extending yii

Updated 3 years ago by sensorarioTips6 comments – viewed 26,561 times – ( +12 ) – version 1.1
In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).