From: Yishay Weiss<mailto:[email protected]> Sent: Sunday, December 11, 2016 8:01 AM To: Carlos Rovira<mailto:[email protected]> Subject: RE: [FlexJS] rowIndex in item renderer
Try reading index instead of rowIndex. rowIndex doesn’t look like it gets updated which is probably a bug. Also, try overriding function set data() for displaying data and index based info. From: Carlos Rovira<mailto:[email protected]> Sent: Saturday, December 10, 2016 8:00 PM To: [email protected]<mailto:[email protected]> Subject: [FlexJS] rowIndex in item renderer Hi, I have a IR extended from MXMLItemRenderer, so I should have "rowIndex" property available, but I get nothing when I tried to write the value to span tag. Is this variable updated? What I wan to get is the row index printed in the IR, how is the most safe way to get it? additionaly, If I want to make a subcomponent in the MXML IR to output based on rowIndex how could I get this done? (i.e : output only if is the first row in the list) -- Carlos Rovira http://about.me/carlosrovira
