Hello, I have a CGridView with two columns consisting of relationship values. For the first one, I use a drop-down menu for filtering, and it works great. However, the second one I want using a text field, so I didn’t specify any filtering:
array(
'name' => 'uid',
'header' => 'User',
'value' => '($data->user->username)',
'htmlOptions'=>array('width'=>'150'),
),
The text field shows up, however, it only returns results that match the input exactly. For example, if I have a User in the grid called “Apple”, I would have to type “Apple” into the filter text field to find all rows with that user. If I typed “App”, those rows wouldn’t show up. However, the other non-relation fields return partial matches. Any way to get this filter to match partials? Any help is appreciated, thanks!