I've got a data grid that returns a set of "people" in a db table/store. I'm currently filtering the store with a "type" field to show only a specific set of people but I've been asked to change that so that all people show in the grid, and simply disable the rows where the "type" is a specific value. Can anyone help with this please?

My current store:


var store = Ext.create('Ext.data.Store',{

model: Ext.getStore('Persons').model

});