| Table of Contents |
|---|
Usages
用法
- 用于扩展在列表项上执行操作的方法。例如删除记录
- Datalist Action Plugin可作为Datalist行动作为单记录动作,也可用作多个记录的整个列表操作。它还可以在列 - 操作映射中进行配置,在单独的列中使用。
- 一个可用的Datalist Action Element插件必须扩展
- Used to extend methods of executing an action on list item. E.g. Delete a record
- Datalist Action Plugin can be used as Datalist row action as single record action or as whole list action for multiple records. It also can use in individual column by configure it in Column - Action Mapping.
- A useable Datalist Action Element plugin must extends org.joget.apps.form.model.Element abstract class.
...
- 抽象类。
抽象类
org.joget.apps.datalist.model.DataListActionDefault
- Under wflow
- 在wflow-
core module- core模块下
Extended org- 扩展org.joget.plugin.base.
ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.Implemented org- ExtDefaultPlugin。请参考 插件基础抽象类和接口。
- 实现了org.joget.plugin.property.model.
PropertyEditable. Please refer to Plugin Base Abstract Class and Interface.- A base abstract class to develop a Datalist Action Plugin.
Method Detail
...
- PropertyEditable。请参考 插件基础抽象类和接口。
- 一个开发Datalist Action插件的基础抽象类。
方法详细
抽象方法
getLinkLabel
public java.lang.String getLinkLabel()getLinkLabel()
动作的描述性名称Descriptive name for the action
getHref
public java.lang.String getHref()
Optional link to a URL
getTarget
URL的可选链接
getTargetMethod
public java.lang.String getTarget()Optional link to a URLURL的可选链接
getHrefParam
public java.lang.String getHrefParam()Name of the parameter if linked, separated by semicolon ";" if has multiple.链接参数的名称,用分号“;”分隔 如果有多个。
getHrefColumn
public java.lang.String getHrefColumn()Name of the column to use for the param value if linked, separated by semicolon ";" if has multiple.用于参数值的列的名称,如果链接,用分号“;”分隔 如果有多个。
getConfirmation
public java.lang.String getConfirmation()()
消息确认Message for confirmation
executeAction
public org.joget.apps.datalist.model.DataListActionResult executeAction(orgexecuteAction(org.joget.apps.datalist.model.DataList dataList,javadataList,java.lang.String [] rowKeys)
Method to perform the action on selected rows
...
rowKeys)对所选行执行操作的方法
可覆盖的方法
getVisibleOnNoRecord
public java.lang.Boolean getVisibleOnNoRecord()getVisibleOnNoRecord();
Flag that decide to show an action object or not
Default to the value of property "visible".
Plugin Properties Options
- Please refer to Plugin Properties Options for more information.
Predefined Property
visible
决定显示动作对象的标志
默认为属性“visible”的值。
插件属性选项
- 有关详细信息,请参阅 插件属性选项。
预定义属性
visible
- getVisibleOnNoRecord 方法使用此值来决定是否在datalist中没有记录时显示此操作Datalist Action Plugin method use this value to decide whether or not show this action when no record in the datalist
| Code Block |
|---|
{
label : '@@datalist.hyperlinkdatalistaction.visible@@',
name : 'visible',
type : 'checkbox',
options : [
{'value' : 'true', 'label' : ''}
]
} |
Tutorials
...
教程
相关社区版插件
- Form Row Delete Action
org.joget.apps.datalist.lib.FormRowDeleteDataListAction (wflow-core) - Data List Hyperlink Action
org.joget.apps.datalist.lib.HyperlinkDataListAction (wflow-core)
...