Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Usages

用法

  • 用于扩展Datalist加载数据的方法. 请参考 Used to extend methods of loading data for a Datalist. Please refer to Datalis Builder - Source.
  • A useable Datalist Binder plugin must extends Datalist Binder Plugin abstract class.

...

抽象类

org.joget.apps.datalist.model.DataListBinderDefault

Field Detail

...

  • 一个开发Datalist Binder插件的基础抽象类。

字段细节

常量
USERVIEW_KEY_SYNTAX
public static final String USERVIEW_KEY_SYNTAX = "#userviewKey#";

Not using by system. Can be use as a syntax to replace it with userview key value.

Method Detail

...

不在系统中使用. 可以用作语法来替换它与userview键值。

方法细节

抽象方法
getColumns
public org.joget.apps.datalist.model.DataListColumn[] getColumns()

Columns meta returned by the binder. Field "name", "label" and "sortable" are needed by system.获取binder返回的columns. 

getPrimaryKeyColumnName
public java.lang.String getPrimaryKeyColumnName()

The primary key / identifier column for the data获取数据的主键/标识符column Name

getData
public org.joget.apps.datalist.model.DataListCollection getData(org.joget.apps.datalist.model.DataList dataList, java.util.Map properties, org.joget.apps.datalist.model.DataListFilterQueryObject[] filterQueryObjects, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)

The data rows returned by the binder based on the current filter.基于当前的过滤器,通过binder返回数据

getDataTotalRowCount
public int getDataTotalRowCount(org.joget.apps.datalist.model.DataList dataList, java.util.Map properties, org.joget.apps.datalist.model.DataListFilterQueryObject[] filterQueryObjects)

Total number of rows returned based on the current filter.基于当前过滤器返回的总行数。

Overridable Methods
getColumnName
public java.lang.String getColumnName(java.lang.String name)

To get the actual column name获取实际列名

processFilterQueryObjects
public org.joget.apps.datalist.model.DataListFilterQueryObject processFilterQueryObjects(org.joget.apps.datalist.model.DataListFilterQueryObject[] filterQueryObjects)

Construct filter conditions

Plugin Properties Options

构建过滤条件

插件属性选项

...

  •  获取更多信息。

教程

...

相关社区版插件

  • Form Data Binder
    org.joget.apps.datalist.lib.FormRowDataListBinder (wflow-core)

...