Editoptions label

QuestionsEditoptions label
Vygandas Pigaga asked 4 months ago


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
Abu Ghufran Staff answered 2 months ago

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”;

Abu Ghufran - Dev Team
PHP Grid Framework
Your Answer

11 + 13 =

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 / 5. Vote count:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!