Questions tagged [itemrenderer]

Questions pertaining to creating and using a custom ItemRenderer to display bound data in Flash constrols such as List and DataGrid.

483 questions
0
votes
1 answer

Flex Spark List LabelItemRenderer remove selection when other list item enters down state

The Spark List with a mobile theme has kind of a weird behavior that I need to disable in favor of a context menu. The default behavior of that list is that an item only loses it's selection color when another item has entered the selected state.…
AlBirdie
  • 2,071
  • 1
  • 25
  • 45
0
votes
1 answer

Writing an ItemRenderer in Actionscript in Flash Builder

I'm trying to write an item renderer (in Flash Builder 4.6) purely in action script, as action script seems to provide a faster and more customisable interface compared to the built in renderers. (Label / Icon etc). I wanted the list to display an…
nreyn
  • 3
  • 2
0
votes
2 answers

Adobe Flex ItemRenderer: Making Calculations

I have a database including a user's Date of Birth, but I want to display their age. I have a function which calculates the age but I cannot use it in the ItemRenderer and I don't know why. I don't think it will work if I use this code outside of…
0
votes
1 answer

In Flex 4.5, can a DataGroup have accessibilityEnabled for all of its individual items?

I'm building a Flex app that has to be accessible and meet section 508 guidelines. Some pre-built parts of are making heavy use of DataGroup, DataGrid, and ItemRenderers. I can't get anything that was created with ItemRenderers to even receive…
nerdabilly
  • 1,248
  • 4
  • 15
  • 34
0
votes
1 answer

How do I revert back to the default item renderer in a spark list after applying a custom item renderer?

I have a flex spark list that is populated by a dynamically generated ArrayCollection (and is used in a recyclable component). If the Array Collection is less than 9 items, a checkbox item renderer is applied. If the ArrayCollection is greater…
jeep
  • 7
  • 3
0
votes
2 answers

how to get the label element's position which in the list, about flex mobile

i want to get the label element's position which in the list , but i get 8 0 8 0 (Global position)x:8,y:0 that is not right , so what can i do , thanks this is my code :