Questions tagged [itemrenderer]

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

487 questions
23
votes
10 answers

Flex - Sending a parameter to a custom ItemRenderer?

What I am trying to accomplish to to get financial data in my Flex Datagrid to be color-coded--green if it's positive; red if it's negative. This would be fairly straightforward if the column I want colored was part of the dataProvider. Instead, I…
Matt Dell
  • 8,298
  • 8
  • 35
  • 55
9
votes
1 answer

ANDROID - ExpandableListView

Im trying to figure out how to build a view that contains (many of): PARENT1 (checkable, expandable) CHILD1 (RADIO BUTTON) CHILD2 (RADIO BUTTON) ... PARENT2 (checkable, expandable) CHILD1 (CHECKABLE) CHILD2 (CHECKABLE) ... The point is that…
no9
  • 5,794
  • 23
  • 72
  • 110
9
votes
3 answers

Flex DataGrid with ComboBox itemRenderer

I'm going spare trying to figure out the "correct" way to embed a ComboBox inside a Flex (3.4) DataGrid. By Rights (e.g. according to this page http://blog.flexmonkeypatches.com/2008/02/18/simple-datagrid-combobox-as-item-editor-example/) it should…
Jamie Love
  • 5,112
  • 6
  • 27
  • 33
8
votes
6 answers

Flex custom item renderer for the displayed item in the combobox

I am using a custom item renderer in a combobox to display a custom drawing instead of the default text label. This works fine for the dropdown list but the displayed item ( when the list is closed) is still the textual representation of my…
pbreault
  • 13,426
  • 18
  • 41
  • 38
7
votes
9 answers

Flex ItemRenderer prevents use of tabbing between text inputs

I have a custom ItemRenderer that displays 5 text inputs in each of 3 panels:
Adam Tuttle
  • 18,859
  • 17
  • 72
  • 109
7
votes
3 answers

Flex: Caching images in list item renderer?

I have a List and the item renderer displays an image. Whenever you scroll the list, and the item renderer refreshes, it redownloads the image. Causing there to always be a delay. Is there some way of caching it so it doesn't have to redownload…
JD Isaacks
  • 51,154
  • 89
  • 267
  • 413
5
votes
0 answers

Button on a Spark List ItemRenderer can not be clicked under certain conditions

I have a Spark List with my own custom renderer. When the user rolls over an item in the list, left and right buttons appear in the row allowing the user to change the value of a value being rendered. For example, if there are 5 priorities (1 to 5),…
Phil
  • 1,839
  • 3
  • 26
  • 44
5
votes
1 answer

Customize radioselect default renderer

I have the following form with radioselect options : jobStatus = forms.ChoiceField( widget=forms.RadioSelect()) However, it renders the radio buttons in
  • ..
tags. Could you suggest me any way to render the only radiobutton…
brsbilgic
  • 10,643
  • 12
  • 55
  • 89
5
votes
6 answers

Flex 3: How do I get the DataGridColumn's dataField in its ItemRenderer?

I'm trying to reach the dataField of a DataGridColumn in the itemRenderer. Below is the dataGrid:
Maurits de Boer
  • 1,787
  • 4
  • 22
  • 30
4
votes
3 answers

How do I stop a datagrid's first-row itemRenderer from instantiating/adding/initializing/etc twice?

In a Flex DataGrid's first row, the itemRenderer will initialize twice. Tracing the results reveals that the flex framework is possibly creating two instances of the first row's itemRenderer. In a more complex application, where the itemRenderer…
user56512
4
votes
4 answers

How can I get the ItemRenderer of a Flex Spark List from its DataProvider Object?

In Flex I can create an ItemRenderer to represent each item in the Lists DataProvider but how do I access the instance of the ItemRenderer via the DataProviders Object? Something like myList.getItemRenderer(dp.getItemAt(10));
Lee Probert
  • 7,847
  • 8
  • 35
  • 49
4
votes
1 answer

ItemRenderer for TreeColumn on AdvancedDataGrid in Flex

Is it possible to use a renderer for for a treecolumn in an advanceddatagrid and still keep the hierarchal functionality? If I use a renderer provider I lose the the arrow for the tree dropdown. I want to keep the tree functionality and change the…
Barrest
  • 121
  • 1
  • 5
4
votes
3 answers

Disable roll-over color for List or DataGrid components

I want to get rid of the typical Flex roll-over color in list-based components, and to display my own style of roll-over rendering. Setting useRollOver to 'false' is not an option, since disabling that will also make the List.isItemHighlighted()…
Tom
  • 1,739
  • 2
  • 21
  • 31
4
votes
1 answer
4
votes
1 answer

ItemRenderer change background color

I have an item renderer that I want to change default colors of:
DominicM
  • 4,652
  • 13
  • 35
  • 57
1
2 3
32 33