<s:DataGrid id="chatRecords" left="5" top="5" right="5" bottom="30"> <s:columns> <s:ArrayList> <s:GridColumn dataField="playerName" headerText="会员名"></s:GridColumn> <s:GridColumn dataField="createTime" headerText="聊天时间"></s:GridColumn> <s:GridColumn dataField="dataField2" headerText="操作"> <s:itemRenderer> <fx:Component> <s:GridItemRenderer> <fx:Script> <![CDATA[ import com.amusement.Chat.control.ChatContentPanelControl; protected function button1_clickHandler(event:MouseEvent):void { ChatContentPanelControl.show(playerName, DisplayObject(outerDocument.parentApplication)); } ]]> </fx:Script> <s:Button label="详细" click="button1_clickHandler(event)" /> </s:GridItemRenderer> </fx:Component> </s:itemRenderer> </s:GridColumn> </s:ArrayList> </s:columns> </s:DataGrid>
相关推荐
结合实例很好的讲解了DataGrid中数据绑定,与数据操作即增删改查,还有分页功能。适合初学者快速的掌握DataGrid 的典型应用
c# DATAGRID使用方法c# DATAGRID使用方法c# DATAGRID使用方法c# DATAGRID使用方法
flash中datagrid用法及外部类的引入 flash中datagrid用法及外部类的引入
DataTable,DataView和DataGrid用法教程:DataTable,DataView和DataGrid中一些容易混淆的概念,详细讲解了它的区别和用法。
vc下datagrid控件用法,有详解代码
flex 里面DataGrid常用到的所有用法总结!
里面是datadrid的用法 是最基本的用法 适合初学。net的 同学使用 希望能够帮助大家
详细介绍了Flex中DataGrid控件的使用方法,并给出了实例代码
DataGrid的基本用法和高级使用技巧!(视频)
一、 DataGrid方法 二、 DataGrid属性 三、 DataGrid事件四、 DataGrid代码片断 对初学者很有用
对MFC中的DataGrid控件的用法进行了一些总结
DataGrid的控件的使用,个人根据网上的一些资料整理,可以实现编辑 更新 分页 ,对于初学者很有用
Silverlight用法,常用,防止丢失,备份
EasyUI DataGrid过滤用法实例
介绍了DataGrid控件各种用法
DataGrid详细使用!与数据库的绑定,操作数据等等.
DataGrid使用技巧vDataGrid使用技巧DataGrid使用技巧
vb中datagrid控件的详细使用方法,拿出来给大家看看!!!!是学习datagrid控件的好助手
学习使用datagrid的很好得一个资源,可以通过它来提高一下