Is there a script to display the dropdown list using json data with autocomplete
See image : https://imgur.com/a/JfoHDxB
You can fill dropdown with any static values using:
$col[“edittype”] = “select”;
$col[“editoptions”] = array(“value”=>’10:$10;20:$20;30:$30;40:$40;50:$50′);
Now you can call (curl) your JSON api using php, parse JSON and it string like key:val;key:val;key:val etc … and set in editoptions->value option.
If you want JSON api along with dependent dropdown, let me know. I’ll review how it’s doable.
It’s currently not supported and will need some changes as well.
Abu Ghufran - Dev Team
Grid 4 PHP Framework
Yes sir, I still need it. Because, there are many applications that must be bridging with other applications using the API with the JSON data format. I am very grateful if there is a solution. Thanks Sir.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?