Sort and filter a custom or composite CGridView column - that may even contain data from different tables.

Comparing #15 with #16

Revision #16 was created by Gerhard Liebenberg Gerhard Liebenberg on Feb 11, 2015, 12:22:42 PM.

Corrected typo

Content

[...]
{
return 'Green';
}
}

public function rules()
 
{
 
return array(
 
array('varColour', 'safe', 'on'=>'search'),
 
);
 
}


public function attributeLabels()
{
return array(
'varColour' => 'Colour',
[...]