`

[转]关于Spark List控件和Spark DataGrid控件的提示

    博客分类:
  • FLEX
阅读更多
http://bbs.9ria.com/viewthread.php?tid=84874&extra=page%3D1%26amp%3Borderby%3Ddateline%26amp%3Bfilter%3D2592000

在Halo DataGrid控件和Halo List控件中,你需要使用scrollToIndex(index:int)属性描写使得在那个index中的item可见。但是在Spark List控件和Spark DataGrid控件中,你需要使用不同属性,如下:

对于Spark List
ensureIndexIsVisible(index:int);

对于 Spark DataGrid (version 4.5)
ensureCellIsVisible(index:int);
setSelectedIndex(index:int);

希望你能喜欢以上提示
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics