O2OA API

Class

Item

ViewerItem 数据中心的视图条目。本章节的脚本上下文请看queryView

Usable Range

QueryView

Example

//在视图中获取行
var item = this.target.items[0];

Source

Members

Methods

Events

loadContent

加载对应列的每个单元格后触发。可通过this.target获取以下对象:

{
 "json ": {}, //当前行配置
 "data": "",  //当前单元格数据,可能是字符串、数组、布尔值。
 "node": td, //当前单元格
 "view": view, //当前视图对象
 "row": {} //当前行的平台类对象
}

click

加载对应列的每个单元格后触发。可通过this.target获取以下对象:

{
 "json ": {}, //当前行配置
 "data": "",  //当前单元格数据,可能是字符串、数组、布尔值。
 "node": td, //当前单元格
 "view": view, //当前视图对象
 "row": {} //当前行的平台类对象
}

results matching

    No results matching ''