Author Topic: Issue with PQSelect search  (Read 1768 times)

rsgmedia

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
Issue with PQSelect search
« 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>';
            }
        }
    }
}

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Issue with PQSelect search
« Reply #1 on: October 22, 2018, 11:53:21 pm »
Can you please share a jsfiddle / plnkr so that I can check it for you.