你好,管理员。
我想请问下,我在导出表格的时候,如何操作,才能导出的文本(v)而不是值(k)。
$col = array();
$col["title"] = "安装分类"; // 标题的列名
$col["name"] = "classifyone";// 网格列名称,必须完全一样返回从sql列名
$col["editable"] = false;//允许编辑
// 加载下拉----------开始----------
$str = $g->get_dropdown_values("select id as k, name as v from ads_construction_classify WHERE pid=0");
$col["searchoptions"] = array("value" => ":;".$str);
$col["editoptions"] = array("value"=>":;".$str);
$col["edittype"] = "select";//编辑格式类型-下拉列表
$col["formatter"] = "select";// 显示标签,而不是值
$col["stype"] = "select"; // 支持下拉搜索
$col["width"] = "70";
$cols[] = $col;
1 Answers
This is resolved in latest build. You can email me your order number on [email protected] to get latest update.
这在最新版本中得到解决。 您可以通过[email protected]将您的订单号发送给我,以获取最新的更新。
Your Answer

