Hello,
Can I change:
$col4[“editoptions”] = array(“table”=>”conf_kainos”, “id”=>”id”, “label”=>”kodas”);
INTO smth like:
$col4[“editoptions”] = array(“table”=>”conf_kainos”, “id”=>”id”, “label”=>”CONCAT(kodas + pavadinimas)”);
1 Answers
Yes, you can specify SQL query instead of these table,id,label combination. e.g.
$col4[“editoptions”][“sql”] = “SELECT id as k, CONCAT(kodas + pavadinimas) as v FROM conf_kainos”;
Your Answer