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

Flex itemrenderer disable rollover but keep alternating colors

Is there a way to customize the rollover and selected colors of an item renderer without losing the alternating background colors? When i set the autoDrawBackground flag to false the roll over effects stops but for some reason the alternating…
Arjen vd Have
  • 119
  • 11
1
vote
4 answers

Can't find variable: item React native FlatList

Hello everyone i have a problem with my FlatList here is the code : i don't know where the problem comes from import React, { Component } from 'react' import { NavigationContainer } from "@react-navigation/native"; import { createStackNavigator }…
Ghita
  • 13
  • 1
  • 3
1
vote
2 answers

Vue.js. Render of different kinds of child components according to a list of conditions

I'm new to not OOP, and VUE.JS especially. I have a list of conditions, according to them I should show on the page several different kinds of components. How can I render, for example, 2 TextInput components (or 3.. 10) dynamically and read the…
Sergey
  • 11
  • 1
1
vote
1 answer

Setting the AdvancedDataGrid's row height while AdvancedDataGridRendererProvider rendering

Flex Guys, Not able to setting height of row in AdvancedDataGrid using custom AdvancedDataGridRendererProvider datagrid renderer. Snapcode as here
javaamtho
  • 382
  • 3
  • 7
  • 20
1
vote
2 answers

Flex: How to create an Image control from a flash.display.Bitmap?

I need to create an Image control from a Bitmap because I have an ItemRedender to use in a List control. I'm trying to show a list of images (Bitmaps) in a List control and I couldn't by now.
manel
  • 9
  • 4
1
vote
2 answers
1
vote
1 answer

Flex item renderer- don't include element if null?

I have item renderer code like this: Description is an optional…
Damon
  • 10,493
  • 16
  • 86
  • 144
1
vote
1 answer

Can a Flex Spark List have itemrenderers that are 100% width?

This is an odd one for me but I am also new to Spark. I have a List class with an itemrenderer. How can I get the itemrenderers to divide the List width between them? Normally, I would think this would be a easy as giving the renderers a percent…
Tony Smith
  • 869
  • 1
  • 11
  • 25
1
vote
1 answer

A newbie question about action script

I saw someone using label as an ItemRenderer for DataGrid, the code is here. I just don't understand 1)what is the "@" mean here : "data.@price" 2)what is the type of "data" and how could I use it? in order to understand this, what keyword should I…
Leon
  • 8,151
  • 11
  • 45
  • 51
1
vote
0 answers

Flex 4 List - issues with drag and drop

I have two different Spark Lists, with two different ItemRenderers, one of them with dragEnabled="true" and the other with dropEnabled="true", in such a way that whenever I drag from one and drop in the other, a copy of the object dropped is created…
Henrique Zambon
  • 1,301
  • 1
  • 11
  • 20
1
vote
1 answer

Flex datagrid with dropdownlist in a particular row

I'm having difficulty figuring out how to add a dropdownlist control to only a single row of a data grid. For example, if I have two rows of data in the grid, I want the top to be the normal text from the data provider, and the second row to be a…
Thomas
  • 11
  • 1
1
vote
1 answer

how to validate textinput within itemrenderer?

I have textinput within list itemrenderer like main.mxml
vijayakumar flex
  • 553
  • 1
  • 12
  • 37
1
vote
1 answer

Weird Behaviour-CheckBoxes as ItemRenderer within Flex DataGrid - FLEX 3

I'm having this weird behaviour in a datagridColumn which I've customized to have its cells rendered as checkBoxes rather than the dafault itemRenderer (i.e. strings). The relevant code is as follows:
Felipe
  • 11,557
  • 7
  • 56
  • 103
1
vote
1 answer

Flex 4: mx|tree - how can i disable items selection?

I want to create a tree that it's child nodes contain specific flex components that I created. I override the default ItemRenderer to achieve this. In my ItemRenderer i have: two states: item and root_item. a function that executes after creation…
ufk
  • 30,912
  • 70
  • 235
  • 386
1
vote
1 answer

ZK - Accessing GUI elements from ItemRenderer

I am having problems accessing GUI elements outside the model class in my ZK project. I have a ListItemRenderer that renders the data and the position of the corresponding model when I click on an element in a list box, but my instance is…
MavidDeyers
  • 180
  • 1
  • 14