Hello Mr. Abu. I just bought your developer version. But when I tried to integrate the dropdown option to the page. it loads a blank page, when i tried to comment these lines ->
$col["edittype"] = "select"; // render as select
# fetch data from database, with alias k for key, v for value
$str = $g->get_dropdown_values("select distinct salesman_id as k, salesman_name as v from salesman");
$col["editoptions"] = array("value"=>":;".$str);
$col["formatter"] = "select"; // display label, not value
the page loads normally.
pastebin link -> http://pastebin.com/EjFU9JzP
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!