I have a grid, with a renderd column, like this:

header: 'CompanyID',
dataIndex: 'CompanyID',
width: 100,
renderer: function (value, metaData, record, rowIndex, colIndex, store, view) {

var store = Ext.data.StoreManager.lookup('companies');
var retVal = store.getById(value).get('Name');
return retVal;
filter: {
type: 'string'


i have added a filter, but the filter worked on the ID and not on the renderd text.

I want to filter the rendered text.

But how?