Extjs4.2 filter on one column and user can use separator to match different rows

I have to filter on one column, and user can use separator to match different rows, like this: (As I couldn't post images, I have to describle the menuitme for my column)

Sort Ascending
Sort Descending
Filters =>  Jim|Tom

User could enter "Jim|Tom" in the Textbox to filter on the Grid.

But Generally, it seems not supported by Extjs 4.2. I found that apply multiple values for one property does not work like above.

Here is my column definition for this column 'Owner':


How could I solver this problem?




You would need to override string filter, something like (untested):

Ext.define('MyOverride', {
   override: 'Ext.ux.grid.filter.StringFilter',

    validateRecord : function (record) {
        var val = record.get(this.dataIndex);

        if(typeof val != 'string') {
            return (this.getValue().length === 0);
        val = val.toLowerCase();
        var parts = this.getValue().toLowerCase().split('|'),
            found = false;

        Ext.Array.forEach(parts, function(part) {
            if (val.indexOf(part) > -1) {
                found = true;

        return found;

Need Your Help

Issue sending c char* over USART

c avr uart

I am converting hex bytes into strings and sending them over uart to a terminal on my computer. I am receiving strange (almost correct) output and I cannot figure out why. This is all done in AVR. ...

different result with jquery and javascript

javascript jquery

I have a select with id: param0.typeParameter.