Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
最後の質問があります。グリッド値のルックアップを行うことは可能ですか?例:
db values =1 -> label = label1 (ドロップダウン値)、テーブル要素を定義して自動ルックアップを作成するにはどうすればよいですか?
$this->addField('tipo_mat');
配列ルックアップ -> array(1->'Label1',2->'Label2');
ありがとう
私は解決しました
$this->addField('tipo_mat')->calculated(true); function calculate_tipo_mat(){ return " CASE WHEN tipo_mat=1 THEN 'Granito' ELSE 'Marmo' END"; }
みんなありがとう