如何以表格形式添加自定义列? [英] How to add custom column in tabular form?

查看:104
本文介绍了如何以表格形式添加自定义列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前的表格形式仅显示表格中的某些列.

My current tabular form just displaying some columns from table.

如何/可以在何处以表格形式添加自定义列,该列将是链接还是按钮,并将带该行的一些输入信息转到另一个页面?

How/where can I add custom column in tabular form, which will be link or button and will take to another page with some input information from that row?

示例

ID [Name] [Address] [Link or button here]

推荐答案

要添加自定义列:

转到区域定义"->源",在那里向SQL查询添加新列.例如:

Go to "Region Definition" -> "Source", add new column to SQL query there. For example:

select col1, -- column of table
       col2, -- column of table
       'some text' custom_column -- custom column that will contain text "some text" 
                                 -- in every row
from my_table

转到报表属性",选择名称为自定义列"的列,然后单击编辑"按钮(铅笔图片),然后转到列链接"并填写字段:

Go to "Report Attributes", select column with name "Custom column" and click the "Edit" button (pencil picture), then go to "Column link" and fill fields:

  • 链接文本-要显示的文本,您可以编写自己的静态文本,来自查询或图片任何列的文本
  • 目标-应用程序中的页面或链接到任何外部网站
  • 页面-您的目标页面编号
  • 项目-目标页面上的项目,将从您的链接中获取价值
  • 值-您将发送到该项目的值.它可以是静态值,也可以是查询的任何列的值(在这种情况下,请使用替换字符串:#"符号和列名称:#column_name#).

请参阅文档以了解APEX URL语法: http: //docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/concept_url.htm

See documentation for understanding APEX URL syntax: http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/concept_url.htm

这篇关于如何以表格形式添加自定义列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆