Autocomplete not working

QuestionsAutocomplete not working
Rankaj asked 9 years ago

Dear Abu,

I am using Autocomplete like below but its giving pop error on typing in input field.

Error = 200 : OK. Status: parsererror

$col = array();
$col["title"] = "Name";
$col["name"] = "name";
$col["editable"] = true;
$col["width"] = "80";
$col["formatter"] = "autocomplete"; // autocomplete
$col["formatoptions"] = array( "sql"=>"SELECT name as k, name as v FROM clients",
"search_on"=>"name",
"update_field" => "name");
$cols[] = $col;

1 Answers
Abu Ghufran answered 9 years ago

Please check ajax response using firebug. May be it's sending some html (non-json) in response.
https://phpgrid.desk.com/customer/portal/articles/926266

Your Answer

11 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?