ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: rsgmedia on October 22, 2018, 06:45:24 pm

Title: Issue with PQSelect search
Post by: rsgmedia on October 22, 2018, 06:45:24 pm
We are facing issue in PQSelect Search, not able to click in the search text box. We are using PQGrid on the Popup(Model) box.
The same code block is working fine on the other page.
This is really urgent, please help ASAP.

Here are the code block of Column in which PQSelect is initializing:

title: 'Project', dataIndx: "project_name", dataType: "string", align: "left", width: 250,
    filter: { type: 'textbox', condition: 'contain', listeners: ['keyup'] },
    editor: {
        type: "select",
        valueIndx: "PROJECT_ID",
        labelIndx: "NAME",
        options: function (ui) {
            return overlapped_projects
        },
        mapIndices: { "NAME": "project_name", "PROJECT_ID": "project_id" },
        cls: "cls_projName",
        init: function (ui) {
            var selval = ui.rowData.project_id == null ? "" : ui.rowData.project_id;
            ui.$cell.find(".cls_projName").val(selval).pqSelect({
                width: '100%',
                search: true,
                maxDisplay: 2,
                deselect: false,
                selectCls: "cls_projNamePQ",
                bootstrap: {
                    on: true
                }
            });
        },
    },
    render: function (ui) {
        let cellData = ui.cellData;
        if (!ui.other) {
            if (cellData != undefined) {
                return '<span title="' + cellData + '" >' + cellData + '</span>';
            }
        }
    }
}
Title: Re: Issue with PQSelect search
Post by: paramvir on October 22, 2018, 11:53:21 pm
Can you please share a jsfiddle / plnkr so that I can check it for you.