Skip to main content
Known Participant
November 19, 2008
Question

itemRenderers documentation

  • November 19, 2008
  • 2 replies
  • 689 views
Hi, all,

LiveDocs are a wonderful resource but here's a way to perhaps improve them. I recently wrestled with a problem and wondered if we can make life easier for those who do anything with itemRenderers. Many of us start with LiveDocs when developing with Flex and in my experience, there needs to be just a tad more about some of the internal workings of itemRenderers.


I built a Flex app using an ADG which had two columns with itemRenderers. One in particular was painful to build because of the "recycling" issue. As far as I know, the LiveDocs don't mention anything about the fact that itemRenderers render a dozen or so rows at a time. Various articles on the Flex Developer Center (as well as many blogs) talked about this. But to a beginner, it won't be obvious why rows magically repeat ("recycle") values. Many hours will be spent wondering what is being done wrong when a little bit of heads-up in the LiveDocs could help users. If LiveDocs contain info on this issue already, maybe the articles need to be a little more obvious. Once I knew what to search on ("itemRenderer recycling"), I could find information and post questions to FlexCoders.


Also, maybe the docs could point to more in-depth articles on Adobe's site (such as Peter Ent's great primer here: http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html).


Sincerely,
Alex Cougarman
919-906-9929 (cell/home)

This topic has been closed for replies.

2 replies

Inspiring
November 25, 2008
On Monday 24 Nov 2008, Matt Chotin wrote:
> One in particular was painful to build because of the "recycling" issue. As
> far as I know, the LiveDocs don't mention anything about the fact that
> itemRenderers render a dozen or so rows at a time. Various articles on the

I thought all the examples showed over riding 'set data'...
http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html linked from
the main dev. net. page does, and in the Reference for
DataGridItemRenderer.data
(http://livedocs.adobe.com/flex/3/langref/mx/controls/dataGridClasses/DataGridItemRenderer.html#data)
it says 'as defined by IDataRenderer', which shows the same approach.

IMVHO, the LiveDocs will not teach you how to do a new thing in Flex, that's
what dev. net. is for.
I do share your frustration though, as I'm sure every Flex developer gets hit
by this at some point.
Adobe do read the comments left on live docs though, so feel free to leave one
on the components page.

--
Tom Chiverton
Helping to confidentially integrate plug-and-play high-yield deliverables



****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.
matt_chotin
Inspiring
November 24, 2008
Good suggestion, I've passed it on to the docs team.<br /><br /><br />On 11/19/08 5:49 AM, "Alex Cougarman" <member@adobeforums.com> wrote:<br /><br />A new discussion was started by Alex Cougarman in<br /><br />Developers --<br /> itemRenderers documentation<br /><br />Hi, all,<br /><br />LiveDocs are a wonderful resource but here's a way to perhaps improve them. I recently wrestled with a problem and wondered if we can make life easier for those who do anything with itemRenderers. Many of us start with LiveDocs when developing with Flex and in my experience, there needs to be just a tad more about some of the internal workings of itemRenderers.<br /><br />I built a Flex app using an ADG which had two columns with itemRenderers. One in particular was painful to build because of the "recycling" issue. As far as I know, the LiveDocs don't mention anything about the fact that itemRenderers render a dozen or so rows at a time. Various articles on the Flex Developer Center (as well as many blogs) talked about this. But to a beginner, it won't be obvious why rows magically repeat ("recycle") values. Many hours will be spent wondering what is being done wrong when a little bit of heads-up in the LiveDocs could help users. If LiveDocs contain info on this issue already, maybe the articles need to be a little more obvious. Once I knew what to search on ("itemRenderer recycling"), I could find information and post questions to FlexCoders.<br /><br />Also, maybe the docs could point to more in-depth articles on Adobe's site (such as Peter Ent's great primer here: http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html).<br /><br />Sincerely,<br />Alex Cougarman<br />919-906-9929 (cell/home)<br /><br /><br /><br />________________________________<br />View/reply at itemRenderers documentation <a href=http://www.adobeforums.com/webx?13@@.59b710e1><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b710e1!folder=.3c060fa3> form to cancel your email subscription.