Item Renderers are only created for the visible rows plus a few buffers. Performance is primarily determined by the rendering and item data access.
Be aware that htmlText only renders a small subset of html tags. Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of Tim Romano Sent: Saturday, February 06, 2010 12:36 PM To: [email protected] Subject: [SPAM] [flexcoders] rendering HTML markup in AdvancedDataGrid I am considering using an AdvancedDataGrid in hierarchical mode but am not sure it can do what my app needs to do, or if it can, whether the approach will be efficient--execute quickly and use up a lot of memory. I haven't worked with the AdvancedDataGrid before. The grid will look like this: [v] Category A [v] Title 1 * passage one blah blah blah * passage two [v] Title 2 [v] Title 3 . . . [v] Title n [v]Category B [v] Title 1 [v] Title 2 [v] Title 3 . . . Title n etc etc When the user clicks on a Title node to expand it, some passages excerpted from the corresponding document would be fetched from the database, already formatted as HTML like this: <span class='foo'>this is an excerpt <span class='abc'>100 to 1000</span> characters in length</span>. A style sheet must control how the css classes in the passage excerpts are rendered. The grid might have as many as 100 rows, and each row could contain a couple of paragraphs of html text. Up to 1K each, but more typically around 100-200 characters. If I create an item-renderer using TextArea, will 100 TextAreas be created if the grid has 100 Title rows even if only 3 titles are expanded by the user? Or are the item renderers created only for the rows that actually get expanded and displayed? Is there another way to render HTML markup in the ADG? Thanks

