Usable Range
QueryView
                
            Example
//在视图中获取行
var item = this.target.items[0];Source
Members
viewObject
行所属视图.
Type
- 
            
    
        Object
Source
dataObject
行数据.
Type
- 
            
    
        Object
Source
isSelectedBoolean
行是否被选中.
Type
- 
            
    
        Boolean
Source
categoryObject
如果视图有分类,获取分类对象。
Type
- 
            
    
        Object
Source
Methods
selected()
Summary
选中(多选)。
Example
item = this.target.items[0];
 item.selected();Source
unSelected()
Summary
取消选中(多选)。
Example
item = this.target.items[0];
 item.unSelected();Source
selectedSingle()
Summary
选中(单选)。
Example
item = this.target.items[0];
 item.selectedSingle();Source
unSelectedSingle()
Summary
取消选中(单选)。
Example
item = this.target.items[0];
 item.unSelectedSingle();Source
Events
loadContent
加载对应列的每个单元格后触发。可通过this.target获取以下对象:
{
 "json ": {}, //当前行配置
 "data": "",  //当前单元格数据,可能是字符串、数组、布尔值。
 "node": td, //当前单元格
 "view": view, //当前视图对象
 "row": {} //当前行的平台类对象
}click
加载对应列的每个单元格后触发。可通过this.target获取以下对象:
{
 "json ": {}, //当前行配置
 "data": "",  //当前单元格数据,可能是字符串、数组、布尔值。
 "node": td, //当前单元格
 "view": view, //当前视图对象
 "row": {} //当前行的平台类对象
}