The easiest way is probably just to capture the record in the closure of whatever handler function you've written. Here's an example using a button:
Code:
{
...
dataIndex: 'active',
xtype: 'componentcolumn',
renderer: function(value, meta, record) {
return {
text: value ? 'Disable' : 'Enable',
xtype: 'button',
handler: function() {
record.set('active', !value);
}
};
}
}
If you can't use a closure (perhaps because the function is declared elsewhere like it would be in the MVC) then you could just save the record as a property on the component and grab it when you need it.