ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: ntoscano on November 09, 2016, 05:31:55 am

Title: Multiple formats in same column?
Post by: ntoscano on November 09, 2016, 05:31:55 am
Hello, from looking at http://paramquery.com/pro/demos/edit_filter you can set a filter on a column, but is there a way to support multiple filters on the same column?

would it be possible to do something like:
format: (ui) => {
                                var format;
                                for (var x in ui.rowData.ers_cellcls[ui.dataIndx]) {
                                    format = ui.rowData.format;
                                }
                                return format;
                            }

similar to how the render function works?
Title: Re: Multiple formats in same column?
Post by: paramvir on November 09, 2016, 07:00:15 am
only one filter can be applied to a single column. The way to do multiple matches within a column is to use range, regexp or a callback condition.

http://paramquery.com/pro/api#option-column-filter

An example of range filter condition is here: http://paramquery.com/pro/demos/filter_header_local