How to add separator between items in a Spark List control

Posted by simms2k on Stack Overflow See other posts from Stack Overflow or by simms2k
Published on 2010-05-21T21:01:38Z Indexed on 2010/05/21 22:30 UTC
Read the original article Hit count: 228

Filed under:
|

I have a s:List where I've defined my own itemRenderer, and would like to insert a horizontal line separating items, similar to the way the mx:LinkBar works. I don't want to have a line at the top or bottom of the list, so I can't just include an upper or lower border in the itemRenderer. I was hoping the itemRenderer could be made aware of its index in the list, but I don't see how. Is there a way to do this?

© Stack Overflow or respective owner

Related posts about flex

Related posts about spark