开发者

getting selectedIndex for SkinnableDataContainer / List

Is there something like select开发者_如何学CedIndex for SkinnableDataContainer? It doesn't seem to be one of the available properties.


Nick

Look at the following link to Adobe's site... this will describe how to add the functionality to the SkinnableDataContainer class by extending it.

SkinnableDataContainer Link

Z


I needed just this, a few days ago and found some components that should work. If you look at spark.components.List which is a subclass of spark.components.SkinnableDataContainer you will see the selectedIndex property aswell as the selectedIndices property (for selecting multipleItems). If you dont need all of the List functionality spark.components.supportClasses.ListBase can be used.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜