Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - infovvk

Pages: [1]
1
Help for ParamQuery Select / autocomplete not working for cell in grid page
« on: November 04, 2019, 12:50:51 am »
i tried grid with col with autocomplete editor,

var autoCompleteEditor = function (ui) {
            var $inp = ui.$cell.find("input");

            //initialize the editor
            $inp.autocomplete({
                appendTo: ui.$cell, //for grid in maximized state.
                source: "/origin/getCustomers",
                selectItem: { on: true }, //custom option
                highlightText: { on: true }, //custom option
                minLength: 0
            }).focus(function () {
                //open the autocomplete upon focus               
                $(this).autocomplete("search", "");
            });
        }

its making call getting response but nothing is shown in cell,
my response is {"data":{"id": "101", "name":abc"},{"id": "101", "name":abc"}}

Pages: [1]