Skip to main content
May 31, 2011
Question

Peformance issue rendering Arabic in an Item Renderer

  • May 31, 2011
  • 2 replies
  • 517 views

Background

- Flash Player 10.2.152.32

- SDK 4.5.0.19786

- text being displayed in Arabic

- DataGrid has 12 columns and displays less than 20,000 rows

- using RichTextEditor on a TextArea within an item renderer

Performance Problem

- DataGrid population is done is an acceptable timeframe (consistantly populated in less than 10 seconds)

- the scrollbar hangs for several seconds when you click on it and drag

- "you can’t scroll through the fields at all with any reasonable performance"

Testing Done

- switching to the Spark component seems to make it worse

- limiting the number of rows of data doesn’t help the performance

- removing all code within the item renderer (applying a blank item renderer) doesn’t help the performance

- removing the item renderer makes the scroll bars work perfectly (it fixes the problem)

Issue

- need the item renderer for application functionality

Are there any known problems with FTE rendering Arabic?

Thanks,

Steve

This topic has been closed for replies.

2 replies

Participating Frequently
June 1, 2011

> using RichTextEditor on a TextArea within an item renderer

Are you talking about <mx:RichTextEditor> and <mx:TextArea>? As far as I know these don't use FTE/TLF and therefore don't handle Arabic correctly.

> DataGrid has 12 columns and displays less than 20,000 rows

Do you mean that every row displays 12 RichTextEditors? That's a lot of editable text.

You could try using a non-editable item renderer based on FTE/TLF such as <s:Label> or <s:RichText>, and having an item editor that uses <s:RichEditableText> or <s:TextArea>.

Gordon Smith

Adobe Flex SDK Team

Adobe Employee
June 1, 2011

It's FTE not TLF for rendering. If you are talking about FTE, please post it onto Flash runtime sub-forum.