Using the SectionList component with custom layout manager


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <components:SectionList id="list" x="0" y="0"
  2. width="100%" height="100%"
  3. sectionField="section"
  4. dataProvider="{arr}">
  5.  
  6. <components:layout>
  7. <layout:SectionListLayout columnWidth="200"/>
  8. </components:layout>
  9.  
  10. <components:itemRenderer>
  11. <fx:Component>
  12. <skins:SectionListItemRenderer
  13. normalLabelField="label"
  14. sectionField="section"
  15. backgroundSection="0x1d9cd1"/>
  16. </fx:Component>
  17. </components:itemRenderer>
  18. </components:SectionList>

URL: http://corlan.org/?p=2931

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.