Aucomplete Oracle error : null

QuestionsAucomplete Oracle error : null
Samsun asked 7 years ago


I have problem when i try use autocomplete feature with Oracle, the field display field with null.

How i solve the problem?


3 Answers
varun answered 7 years ago

put that column code

Samsun answered 7 years ago

$col = array();
$col["title"] = "Jenis Pensiun";
$col["name"] = "KD_JENISPENSIUN";
$col["width"] = "40";
$col["editable"] = true;
$col["align"] = "center";
$col["edittype"] = "select"; // render as select
$str = $g->get_dropdown_values("select KD_JENISPENSIUN as k, NM_JENISPENSIUN as v from REF_JENISPENSIUN");
$col["editoptions"] = array("value"=>$str);
$col["search"] = false; // this column is not searchable
$cols[] = $col;

Abu Ghufran answered 7 years ago

For autocomplete, you need to define

$col["formatter"] = "autocomplete";
$col["formatoptions"] = array( "sql"=>"…",
"update_field" => "…");

Email me code at [email protected], i'll suggest the possible fixes.

Your Answer

18 + 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?