Hey guys
Hi just updated my code and added an autocomplete field, but i dont know why it gives me the 500:ERROR, ive tested the query and she is working fine, on the same grid i have another autocomplete and it works fine, ive tried with many other querys and fields and keep giving me the same error, can someone give me a tip of whats going on?
$col = array();
$col[“title”] = “Fornecedor”;
$col[“name”] = “fornecedor”;
$col[“hidden”] = false;
$col[“formatter”] = “autocomplete”;
$col[“formatoptions”] = array(“sql”=>”SELECT nome as v FROM fornecedores”,”search_on”=>”fornecedor”,”force_select”=>false);
$col[“editable”] = true;
$cols[] = $col;
Sorry for the delay. Best way to get details of Error 500 is to check php error logs. If you share that message, then someone can suggest some solution OR you may find solution yourself by reviewing it.