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
1 Answers
Your Answer