下拉列表的数据导出的时候如何显示值?

Questions下拉列表的数据导出的时候如何显示值?
沈成 asked 5 years ago
你好,管理员。
我想请问下,我在导出表格的时候,如何操作,才能导出的文本(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
Abu Ghufran Staff answered 5 years ago

This is resolved in latest build. You can email me your order number on [email protected] to get latest update.

这在最新版本中得到解决。 您可以通过[email protected]将您的订单号发送给我,以获取最新的更新。

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

16 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?