1
ParamQuery Pro Evaluation Support / Re: Autocomplete for multiple columns
« on: November 10, 2016, 11:16:56 pm »
Thanks!
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.
source: (ui.dataIndx == "books" ? books : "/pro/demos/getCountries")
var autoCompleteEditor = function (ui) {
var $inp = ui.$cell.find("input");
//initialize the editor
$inp.autocomplete({
source: (ui.dataIndx == "books" ? books : "/pro/demos/getCountries"),
selectItem: { on: true }, //custom option
highlightText: { on: true }, //custom option
minLength: 0
}).focus(function () {
//open the autocomplete upon focus
$(this).autocomplete("search", "");
});
}