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
1
vote
2 answers

ItemRenderer height (and height changes) not reflected in AdvancedDataGrid row

I have an AdvancedDataGrid with variable row height set to true. I have written a cutsom item renderer based on the DataGroup spark component. Each row in the grid has multiple entities to display, the x position and width of the entites are based…
David
  • 316
  • 2
  • 8
1
vote
4 answers

How do I add a button after the last item in a List in Flex?

I have a HorizontalList in Flex that contains some data and an ItemRenderer representing a Page. After the last item (Page) in the list, I want to have a button - a Plus to create a new page. What data can I look at to get the proper x,y position of…
Ben Throop
  • 4,772
  • 5
  • 23
  • 20
1
vote
1 answer

Can be declared outside and inside itemrenderer?

I am declaring a variable outside the itemRenderer fx:Script body. However when I am setting it as such in my itemRenderer: test_Var = data.@field_value; It is giving an error "Access of undefined property test_Var" Can I have 2 bodies, one inside…
FlexyBoz
  • 195
  • 18
1
vote
1 answer

How to avoid loads of 'if statements' in item renderers

I have an item renderer for a list containing an image, label and a checkbox. These are visible depending on the dataProvider property of the list. E.g if an image is a premium image then display the premium label, if an image is a favourite then…
flexepo
  • 11
  • 1
1
vote
1 answer

Can't make Flex Transitions behave smoothly

I am trying to understand how to make Flex transitions behave in an attractive smooth manner. I can't get them to work without them appearing extremely choppy. I have attached a silly demonstration application to illustrate this. It shows a List…
Phil
  • 1,897
  • 4
  • 25
  • 48
1
vote
1 answer

Flex: Using list as repeater... how do I pass information from the dataprovider to the custom module being called?

When using a List component, instead of a Repeater, how do I transfer a value from the dataprovider to the itemRenderer? For example, I have an array collection (projectsAC) that contains arrays with the following structure: projectsAC( 0: …
Brds
  • 1,035
  • 3
  • 17
  • 37
1
vote
2 answers

TypeError when using ItemRendering and a spark GridColumn

I am rendering the GridColumns of spark DataGrid as follows:
Suhrob Samiev
  • 1,528
  • 1
  • 25
  • 57
1
vote
4 answers

Flex's itemrenderer problem when sorting on datagrid

Please follow my explanation here : I have a datagrid which holds a dataprovider that has 3 columns one of those 3 columns is button itemrenderer, others are integer I put 4 row into the datagrid I set a button in a row to disable, others are…
vyongjay
  • 13
  • 3
1
vote
2 answers

Conditionally change icons in datagrid rows using item click

I have to designed a datagrid, in first column i have to use closed lock icon. when i click a row in a datagrid the selected rows' icon should change as opened lock icon. how i can achive this task in flex 3. please help me.
Santhosh Nayak
  • 2,312
  • 3
  • 35
  • 65
1
vote
2 answers

How can we exclude certain controls from getting focus?

In my application, I have a List that uses an item renderer. The renderer has two controls inside a Grid. I want the user to be able to tab through the TextAreas. However, I noticed that I need to tab twice to move to the next TextArea. I think it…
Zesty
  • 2,922
  • 9
  • 38
  • 69
1
vote
1 answer

Spring batch - org.springframework.batch.item.ReaderNotOpenException - jdbccursoritemreader

I get the reader not open exception when tried to read JdbcCursorItemReader in the Item Reader implementation. I checked the stack overflow, but couldnt get a discussion on jdbc item reader. Here is the code of Batch config and Item reader…
user533544
  • 43
  • 1
  • 10
1
vote
5 answers

Flex 4 ItemRenderer in Spark List Ghosting Issue when scrolling

I have an item renderer in a list, when I try to use the override method to setup the list items how I want them they are invisible. When I try to use the function to set them up, every time I scroll the list consuming the renderer, it starts giving…
Craig Mc
  • 505
  • 1
  • 13
  • 30
1
vote
4 answers

iconitemrenderer clickable objects?

I am making a mobile application in Flash Builder 4.5 for android and iOS and am using the itemRenderer and iconitemrenderer classes to make a list of options for my app. For some reason, i cannot make them clickable, or define actions to do when…
jlehenbauer
  • 599
  • 2
  • 11
  • 33
1
vote
3 answers

How can I change create gaps between tiles in a Flex Tile list or the width of a hover image so you can see the background image inbetween items

I have created a tile list with custom item renderer and in terms of functionality it works as it should. I reduced the width and height of the item renderer to 95% which then shows the tile lists background in the remaining 5% of that item. The…
Michael Wilson
  • 251
  • 1
  • 4
  • 16
1
vote
4 answers

Slow Spark List Initialization with custom renderer

I have a Spark list with a customItemRenderer that is taking a good 3 seconds to initialize with just 50 items. I'm using Flex 4.5, my ItemRenderer is already very optimized, using as little nesting as possible, fxg and so on. Is anyone having…
Pedro
  • 155
  • 1
  • 8