Also in the demo. I change the name in the dropdown menu, but the fields Gender and Company doesn’t update.
http://www.phpgrid.org/demo/demos/appearance/dropdown-callback.php
Thanks
1 Answers
Demo is fixed now.
The new callback code syntax support placeholders of columns so this will work:
$col[“editoptions”] = array(
“value”=>$str,
“onchange” => array(
“sql”=>”select * from clients where name = ‘{name}'”,
“callback” => “fill_form” )
);
http://www.phpgrid.org/demo/demos/appearance/dropdown-callback.phps#L.65
Your Answer
Please share screenshot / related code as well.
Ok, i understand the issue now. Will be updating back.