ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: JUNZHONG on May 20, 2016, 10:50:32 pm

Title: Multi word filtering on same column
Post by: JUNZHONG on May 20, 2016, 10:50:32 pm
Hello,
With 2.x, do you have a sample of how to do multi word local filtering in same column.

Thanks
Title: Re: Multi word filtering on same column
Post by: paramvir on May 23, 2016, 10:53:52 am
Apply range condition to Shipping region column in this example: http://paramquery.com/pro/demos24/filter_header_local
Title: Re: Multi word filtering on same column
Post by: JUNZHONG on May 23, 2016, 09:08:55 pm
I see this example for dropdown filter. How do I apply range on textbox filter?
Title: Re: Multi word filtering on same column
Post by: paramvir on May 24, 2016, 10:24:00 am
Range condition expects an array. Multi select dropdownlist has value of array type which is compatible with range condition.

Multi word filtering with textbox could be done with regular expression i.e., 'regexp' condition.

Code: [Select]
filter: {
type: 'textbox',
condition: 'regexp',
listeners: ['change']
}