Author Topic: Multi column filter  (Read 2157 times)

Akaize

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 6
    • View Profile
Multi column filter
« 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>";
                        },