获取到AdvancedDataGrid选中行的全部数据
时间:2020-12-05 11:56:55|栏目:|点击: 次
通过AdvancedDataGrid的id来获取selectedItem和selectedItems属性,即用它来获取一行或者多行,然后用this.id.selectedItem["@class"]来获取某列的值,其中包括在高级网格中未显示出来的部分~~
//用于某行不可编辑
public function returnRowEdit(event:AdvancedDataGridEvent):void{
trace(this.returns.selectedItem["@class"]+" ");
if(this.returns.selectedItem["@class"]== ".ComplexField"){
event.stopImmediatePropagation();
}
}
复制代码 代码如下:
//用于某行不可编辑
public function returnRowEdit(event:AdvancedDataGridEvent):void{
trace(this.returns.selectedItem["@class"]+" ");
if(this.returns.selectedItem["@class"]== ".ComplexField"){
event.stopImmediatePropagation();
}
}
上一篇:PHP多用户博客系统分析[想做多用户博客的朋友,需要了解]第1/3页
栏 目:
本文标题:获取到AdvancedDataGrid选中行的全部数据
本文地址:http://www.codeinn.net/misctech/29519.html






