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
2
votes
1 answer

Dynamic Spark DropDownList ItemRenderer within Flex Datagrid

I have a datagrid which contains a Spark dropdownlist that needs to obtain dynamic data. The datagrid uses a separate dataProvider. When I use a static ArrayCollection within my ItemRenderer, it works (please see listing 1). However, when I use Swiz…
webTrauma
  • 41
  • 1
  • 5
2
votes
3 answers

Avoid ItemRenders Caching in a Spark List in Flex 4

I have two Spark Lists with custom Item Renderers. I'm working on an application that enables users to drag these Item Renderers from one List to the other. When one of these IRs is dropped in a new position or in another List, I'm updating the…
oscarm
  • 2,630
  • 6
  • 41
  • 74
2
votes
2 answers

Flex List ItemRenderer with image loses BitmapData when scrolling

Hi i have a mx:List with a DataProvider. This data Provider is a ArrayCollection if FotoItems public class FotoItem extends EventDispatcher { [Bindable] public var data:Bitmap; [Bindable] public var id:int; [Bindable] public…
Dominik Goltermann
  • 4,276
  • 2
  • 26
  • 32
2
votes
3 answers

Flex list control itemrenderer issue

I am working on a small photo Gallery. I create a xml file and try to link it to my List control with itemrenderer. However, when I tried to save the file, I got access of undefined property "data" error. I thought we are suppose to use "data" to…
FlyingCat
  • 14,036
  • 36
  • 119
  • 198
2
votes
1 answer

Flex: linking dataProvider with custom itemRenderer in a DataGrid

Im working at a DataGrid which has a custom itemRenderer with a checkbox and a Label inside. Im struggling adding the the values from a xml to the wright label dynamically... how can I make the connection from the datagrid's dataProvider (a xml doc)…
Markus
  • 3,948
  • 8
  • 48
  • 64
2
votes
3 answers

Force all item renderers to commitProperties?

I have an item renderer that checks an external source for display information. If that information changes, I want to force all item renderer instances to check it. What's the best way for force all the item renderers in a list or grid to either…
Richard Haven
  • 1,122
  • 16
  • 31
2
votes
1 answer

Increase height of just one ItemRender

I am trying to develop a Call Log with Flex, and I have some troubles with the ItemRenders. In fact, here is what I've got : And when you click on an Item, the size of the Item changes to display more details : But as you can see, every item are…
2
votes
3 answers

Flex DataGrid ItemRenderer Issue

I have a grid filled with >1000 datasets. one column uses a custom itemRenderer which is used to display the value of a foreign key. All the datasets which are displayed without scrolling are displayed with the right information. But when it comes…
Thomas
  • 2,338
  • 2
  • 23
  • 32
2
votes
1 answer

In Flex, What is the difference between a skin and an itemRenderer?

Indeed they both (skins and itemRenderers) seem to do drawing using the flash.graphics.* package. I have copy pasted code between skins and itemRenderers before, so I really don't understand the difference. I have had more experience implementing…
Luis B
  • 1,684
  • 3
  • 15
  • 25
2
votes
2 answers

Is this the correct way to call a component method inside mxml

I'm hacking my way through learning Flex and have found some strange behaviour. When I try to compile my code, I'm thrown this error - Error: Call to a possibly undefined method updateStory. I've used method calls in this way before, and can't spot…
ChrisInCambo
  • 8,455
  • 15
  • 50
  • 63
2
votes
1 answer

Dynamically assigning an image source in an item renderer does not work in Flex/AS3

I have a custom item renderer that displays images:
Tony
  • 18,776
  • 31
  • 129
  • 193
2
votes
2 answers

Spark ItemRenderer "shorthand" causing strange behaviour

I have a simple ItemRenderer that is causing strange behaviour when I use it in a Spark List of products. It is defined as follows:
istrasci
  • 1,331
  • 1
  • 18
  • 40
2
votes
1 answer

Multilined itemRenderer for a spark.components.List - with test case and screenshot

In the simple Flex 4 web application below - is it possible to change the custom item renderer MyRenderer, so that it wraps the too long lines? TestApp.mxml:
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
2
votes
2 answers

Links in Datagrid (flex)

I wanted to ask how I can put links into a datagrid. My dataProvider is the folling xml A name A url Another name Another url sure with some…
Sebastian Müller
  • 5,471
  • 13
  • 51
  • 79
2
votes
4 answers

Custom Itemrender in Datagrid with Datatip

I have a datagrid with one datagridcolumn in it. Without a custom itemrenderer I can use a datatipfunction for showing a custom datatip but now I want to have a custom item render for colouring the rows differently. Therefore I extended a label and…
Sebastian Müller
  • 5,471
  • 13
  • 51
  • 79