ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: Akaize on March 31, 2016, 07:19:28 pm

Title: Multi column filter
Post by: Akaize on March 31, 2016, 07:19:28 pm
Hi guys, I need a little help.

I want to make a column filter use a custom method, or 2 dataindx values in 1 filter box.

This is because I'm making something like this:

        title: "Cliente", editable: false, width: "16%", dataType: "string", dataIndx: 'terceiroCnpj',
                        filter: {
                            type: 'textbox',
                            condition: 'contain',
                            listeners: ['keyup'],
                        },
                        render: function (ui) {
                            var rowData = ui.rowData;

                            return "<div class='textZone full'><div>" + MaxLength(rowData.terceiroRazaoSocial, 25) +
                                "</div><div>" + changeCPFCNPJFormat(ui.cellData) + "</div></div>";
                        },