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

flex datagrid sorting which contain itemrenderer

I'm quite newbies of flex, may I have some question to anyone who can suggest please. I have grid for monitor CPU status and It look like this CPU | CPU dif -------------- 5.9 | +0.2 ^ 4.0 | -0.6 v 12.7| -1.5 v The ^ , v in the picture above…
Shigeki
  • 21
  • 2
2
votes
2 answers

Adobe Flex List Itemrenderer: Cannot Scroll List

I have have successfully set up a list that pulls users from a database and displays them in a list. I'm currently customising the list with an itemrenderer and it's going well. I can pull a user's profile picture, then to the right of it I'll…
2
votes
3 answers

How to add a working s:TextInput to a s:Datagrid HeaderRenderer?

I need/want to add a s:TextInput to the headers of some of my datagrids to provide filtering functionality for the tables (the idea is: "type text in inputfield, hit enter, datagrid gets filtered"). For now I'm working on a HeaderRenderer using a…
user1346245
1
vote
1 answer

Flex Mobile: Strange behavior in IconItemRenderer List

I'm desperately trying to fix a strange behavior in my custom iconitemrenderer list: When I change the view to the view with the list inside and start scrolling, the list gets white for the fraction of a second (apperently completely redrawn), but…
user355318
1
vote
1 answer

Custom Data label for Flex 4 Pie Chart

Does anyone know that it is possible if it is possible to create an item renderer for the data labels of a Flex Pie Chart? i know it is possible to change the formatting of the String using the label function. But i need more control of the way the…
1
vote
3 answers

how to refresh item renderers and change their state?

I have a list with time related data. the item renderers display this time. I would like to make the item renderers refresh their state/labels upon the tick of a timer. to which event should I add a listener within the renderer, and how do I trigger…
Dan
  • 1,163
  • 14
  • 34
1
vote
1 answer

How to trigger itemRendererFunction to be called again when data change in Flex

I have a list that uses a itemRendererFunction to get custom item renderers. Is there a way to only reevaluate one item in the list and get different item renderer? imagine code like this : there are two item renderers ItemRendererOne.mxml and…
Sang Park
  • 382
  • 2
  • 17
1
vote
4 answers

possible to display an arrayCollection of Sprites in a List component?

I have an arrayCollection of objects that extend Sprite, and have bitmaps within them. I want to display these in a list (or some other component that would allow a user to scroll through them, and see their associated data.) When I do:…
Martholomew
  • 89
  • 1
  • 8
1
vote
1 answer

How to get selectedItem from comboBox itemrenderer in datagrid and display value in another column

I am having an issue with itemRender in a datagrid. Actually I have a dataProvider which populates 2 columns in my datagrid. The first column data is rendered in a TextInput and the second column data is rendered in a comboBox. What I want now is…
yaya
  • 165
  • 1
  • 1
  • 8
1
vote
1 answer

Dynamic ItemRenderer for Flex Datagrid

I have DataGrid with Dynamic Columns. The columns will contain ItemRendrer. I'm not familiar with dynamically adding ItemRenderer. My code is: var column:DataGridColumn = new DataGridColumn(); column.headerText =…
Santhosh Nayak
  • 2,312
  • 3
  • 35
  • 65
1
vote
1 answer

Flex: Simulating a click on a button inside an item renderer of a data grid

I'm using a data grid with an item renderer that creates a toggle button. The idea is to have a list of items and only allow one to be selected and pre-select one at start. I've got the single button selection working, meaning that when I click on…
Pimenta
  • 1,029
  • 2
  • 13
  • 32
1
vote
1 answer

Flex Tree does not selecting ("highlight”) the selectedIndices

I have an array of items that should be selected in my tree control. As you can see from my code below,I bind this array to the selectedIndices property of the tree. The selectedItems are not properly selecting in tree(selecting some other items…
sun
  • 2,502
  • 2
  • 16
  • 18
1
vote
1 answer

Flex: How can I pass a GridItemRenderer the DropDownList's dataProvider?

I need to display DropDownLists in a column of a DataGrid in my Flex application. Here is what I am doing: First, I have a item renderer function that creates a custom item renderer, and passes it a property that is an IList that will be used as the…
1
vote
2 answers

ActionScript Item Renderer in DataGrid

I am using this example from blog.flexexamples.com. I have a datagrid and trying to dynamically add button to one of datagrid column. But I want this Button as an ItemRenderer to be written in ActionScript and not MXML. How can I do that ? Thanks
user327663
1
vote
4 answers

Flex3: Custom Item Renderer does not listen to events dispatched by parent

I have a List with a custom ItemRenderer. The ItemRenderer contains a Checkbox and a Label. The component with the List has a 'select all' checkbox. When the 'select all' checkbox is checked, it dispatches an event that each item should listen to in…
Maurits de Boer
  • 1,907
  • 4
  • 23
  • 30