Questions pertaining to creating and using a custom ItemRenderer to display bound data in Flash constrols such as List and DataGrid.
Questions tagged [itemrenderer]
483 questions
4
votes
2 answers
How can I know when a Button in a Flex DataGrid itemRenderer is clicked?
I have a DataGrid component that displays a few columns of data. It has one additional column that displays a Button that allows the user to take an action with regard to the record.
…

Eric Belair
- 10,574
- 13
- 75
- 116
3
votes
2 answers
Flex ItemRenderer not passing mouseover to parent
In an AdvancedDataGrid using an MXAdvancedDataGridItemRenderer, mouseover was not being passed on to the AdvancedDataGrid.
After days of struggle, I wanted to share this:
In your data setter, assign super.data with the new value for mouse events to…

MonoThreaded
- 11,429
- 12
- 71
- 102
3
votes
2 answers
How to prevent container in itemRenderer from exceeding width of list container?
In a Flex Mobile project I have a simple itemRenderer where I'm trying to create an "bubble" texting effect, similar to ichat or iphone (just so you get what im going for). But if the text is longer than the screen it runs off, rather than just…

brybam
- 5,009
- 12
- 51
- 93
3
votes
2 answers
Spark Datagrid memory usage with dynamic columns
I have a question about the Spark DataGrid and how it works in terms of garbage
collection. What I'm finding is that if I dynamically add and remove columns
from the DataGrid at runtime, the GridColumns and ItemRenderers never get freed
from…

David
- 31
- 3
3
votes
2 answers
Does all childs must be created on createChildren function on ItemRenderer?
Do I need to create all objects which i will possible use with itemRenderer in createChildren function, even if the current item must not show some of them ?

Yordan Yanakiev
- 2,546
- 3
- 39
- 88
3
votes
4 answers
ItemRender data change
I have a List with an ItemRenderer. When I click a button, then a property of the ArrayCollection I bound to the list is changed.
When I click the button, then it does change the property, but the list doesn't change.
How do I solve this.
Here's my…

Vinzcent
- 1,438
- 6
- 33
- 59
3
votes
2 answers
Flex4 ContextMenu() not showing added Items
I am trying to use ContextMenu() to display context menus in Flex 4.
Full Render code here http://pastebin.com/Kx8tJ1cY
The problem is that the context menu does not change when I add items to it.
Can anyone show me how to add a custom right click…

Craig Mc
- 505
- 1
- 13
- 30
3
votes
1 answer
How to increase the buffer in Virtualized Flex 4 Layouts
Virtualized Layouts are nice, but I find that they often feel a bit "chunky" due to the "tightness" of the virtual range. This could be improved by increasing the range - one or two steps ahead (and behind) would often be enough to improve the…

Franky-D
- 450
- 4
- 16
3
votes
2 answers
Flex dataGrid itemRenderer, access cell width and height
When writing a custom itemRenderer, how do you reference the height and width of the grid cell that it will be rendered in? In such a way that it will resize correctly when the grid is resized.
I am writing a dataGrid itemRenderer that draws a bar…

Alex
- 537
- 2
- 6
- 15
3
votes
2 answers
How to use 2 different item renderers in mx:Tree
Question for Flex guys.
How can I use multiple item renderers in mx:Tree depending on item's depth/level in tree?
For example. For the first level items I want to use label with button and for second level items combobox.
Is this somehow possible?

luccio
- 485
- 1
- 6
- 24
3
votes
1 answer
Issues with keyboard navigation on list with custom renderer
We have a list that uses a custom renderer containing a label, a checkbox and two icons (which have click events). This list needs to be made WCAG 2.0 compliant and in order to do that we need the list to be keyboard navigable.
The problem is with…

user2800493
- 31
- 1
3
votes
1 answer
FormItems are not aligning as ItemRenderers within a DataGroup
I am trying to use a FormItem as an ItemRenderer within a DataGroup - the purpose being to dynamically create a Form based upon an XMLlist as a data provider. The first part is a success in that the form items are successfully rendered, however my…

Beaker
- 214
- 1
- 4
- 16
3
votes
1 answer
Flex3 Combobox doesn't display itemRenderer when closed
I have a combobox with a custom itemRenderer. The ItemRenderer displays some images and a label.
When the combobox opens, the items in the dropdown list display perfectly, but when its closed, the combobox doesn't use the ItemRendere, but shows…

Maurits de Boer
- 1,907
- 4
- 23
- 30
3
votes
1 answer
Multiple CJuiAutocomplete in Yii - items not rendering
I need two CJuiAutocomplete items on my view page. Unfortunately - only one of them is rendering items properly. The other one - renders empty rows. I checked in firebug and the values are retrieved from database properly. Actually if I change the…

Joe
- 2,551
- 6
- 38
- 60
3
votes
2 answers
How to use out-of-datagrid scope variable inside an ItemRenderer?
I'm binding an array of items to a data grid using ItemRenderer. I use the data variable to control the bindable data. I also have someComponentVariable that need be inserted into every row but its declared at the component scope, so the data grid…

Eran Betzalel
- 4,105
- 3
- 38
- 66