摘要:
当修改 DataGrid 实例的数据, 即修改数据源(dataProvider) 的内容时,要实现 DataGrid 的自动刷新,有两步。1.将数据源设置为绑定。比如 数据源 为 dataArray,要在声明时在上面加 [Bindable] 标签[Bindable]var dataArray:Array;有关数据绑定可以看看我的另外一篇文章http://hi.baidu.com/think122/blog/item/54970bfa2aed732b4e4aea16.html2.设置为绑定以后,当你修改数据时,DataGrid 实例不会显示新的数据,除非你鼠标点一下 DataGrid ,才会显. 阅读全文
posted @ 2011-08-16 22:13
子福当自强
阅读(853)
评论(0)
推荐(0)

浙公网安备 33010602011771号