I have a normal dataGrid that I created a rollover event to display a
custom tooltip on each box. When I added in an itemRenderer this
functionality was broken. I'm assuming it's because the itemRenderer is
overriding the rollover event? Is that true?
The itemRenderer does work ok, it
Try outerDocument
On 5/25/10 10:16 PM, jmfillman jmfill...@verizon.net wrote:
I have an itemRenderer:
mx:DataGridColumn headerText= dataField=remove width=20
mx:itemRenderer
fx:Component
mx:Image source=assets/Remove-32.png height=20 width=20
useHandCursor=true buttonMode=true
I have an itemRenderer:
mx:DataGridColumn headerText= dataField=remove width=20
mx:itemRenderer
fx:Component
mx:Image source=assets/Remove-32.png height=20 width=20
useHandCursor=true buttonMode=true click=trace (parentDocument);
parentDocument.removeItem()/
I'm getting the following error:
Access of underfined property data
Code (in a skin):
mx:DataGrid left=10 top=75 right=10 bottom=10 id=searchGrid
dataProvider={hostComponent.search}
doubleClickEnabled=true doubleClick={hostComponent.modify()}
mx:columns
mx:DataGridColumn
Most mx components are capable of being item renderers. Most spark components
are not and don’t have a data property. Use MXDataGridItemRenderer and shove
all the other things inside it.
On 5/5/10 8:54 PM, jmfillman jmfill...@verizon.net wrote:
I'm getting the following error:
Access
Some code would help
On Tue, Jan 12, 2010 at 8:36 PM, aramsdell2000 amy.ramsd...@gmail.comwrote:
I have a datagrid column that for each row, has several text values each
with its own hyperlink.
Ex: the data in the datafield looks like: Atext, Btext, Ctext. As it is
now, I was able to add
I have a datagrid column that for each row, has several text values each with
its own hyperlink.
Ex: the data in the datafield looks like: Atext, Btext, Ctext. As it is now,
I was able to add href anchor tags but they only open in a new window with the
right mouse click. The datagrid item
I have an advanced datagrid with two coloumns.one coloumn contains
combobox as itemrenderer.combobox has values high, low and medium.And i
am using three images like high.jpg, low.jpg , medium.jpg. when i
select high in combobox , high.jpg have to be displayed in the first
coloumn.likewise when i
:[EMAIL PROTECTED] On Behalf Of Simon
Bailey
Sent: Sunday, November 23, 2008 11:44 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid itemRenderer Woes
Just a checkbox inside of it in answer to your first question.
The reason I am using a column to ascertain visibility of the check
in the
DG and see what it thinks is going on.
-Alex
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Simon Bailey
Sent: Sunday, November 23, 2008 11:44 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid itemRenderer Woes
Just a checkbox inside
: Saturday, November 22, 2008 2:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid itemRenderer Woes
Hi,
I have seen through google that this has been an issue but
implementing various solutions still leaves my existing problem.
Essentially I have a DataGrid with a custom
@yahoogroups.com
Subject: [flexcoders] DataGrid itemRenderer Woes
Hi,
I have seen through google that this has been an issue but
implementing various solutions still leaves my existing problem.
Essentially I have a DataGrid with a custom itemRenderer displaying
CheckBoxes.
Within the renderer I am
@yahoogroups.com
Subject: [flexcoders] DataGrid itemRenderer Woes
Hi,
I have seen through google that this has been an issue but
implementing various solutions still leaves my existing problem.
Essentially I have a DataGrid with a custom itemRenderer displaying
CheckBoxes.
Within the renderer I am
Subject: Re: [flexcoders] DataGrid itemRenderer Woes
Ok I have stopped all the errors and essentially integrated your (Alex's) logic
into my application after some serious hair pulling.
The responsibility lies now with the method below for showing or hiding the
check box:
override protected
Bailey
Sent: Sunday, November 23, 2008 11:24 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid itemRenderer Woes
Ok I have stopped all the errors and essentially integrated your
(Alex's) logic into my application after some serious hair pulling.
The responsibility lies
Hi,
I have seen through google that this has been an issue but
implementing various solutions still leaves my existing problem.
Essentially I have a DataGrid with a custom itemRenderer displaying
CheckBoxes.
Within the renderer I am running a comparison on a value within the
renderers data
Read the item renderers section on my blog (blogs.adobe.com/aharui). Start
with the oldest posting.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simon
Bailey
Sent: Saturday, November 22, 2008 2:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
I have a datagrid containing rows with multiple date columns. I need
to change the cell background color based on the date value (e.g. 90
days old is red etc.)
However the rules vary based on the column - for now I've created
similar custom item renderers with different business rules based on
Maybe you can use one of the examples on my blog?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
pbrendanc
Sent: Wednesday, November 12, 2008 10:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid ItemRenderer - Reuse with Parameters vs Cloning
I have
I'm trying to use a dataGrid itemRenderer and not sure I'm using it right.
I get an error 1009 null error on data.*any_column*
My data is coming back fine from the database, the column I'm trying
to reference is amount
mx:DataGrid id=dg width=100% height=100%
Hi,
My custom itemRenderer shows an image in the first column of my
datagrid when mouseover happens. I need to know the index of the
underlying data (basically image on which row was clicked) when the
image is clicked but I am not sure how to get it. Is there any way to
do it without making the
ITEM_ROLL_OVER event?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sanjay
Hora
Sent: Monday, September 08, 2008 11:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] datagrid, itemrenderer images and events, . looking for a
solution
Hi,
My custom
Hi there,
if you have a (generic) item renderer like this:
mx:DataGridColumn dataField=aField headerText=Header
editorDataField=data editable=true
itemRenderer=myRenderer.GridField /
And you use the same renderer on multiple fields,
how then can you find out (in the
Hello,
I am new to flex, i apologize if this questions seems out of context.
I have an image loaded with the Loader class in actionscript (say
in a variable loader)
I need to display this image onto a DataGrid Cell.
Can i use a drop-in itemRenderer of Image class?
Assuming the
] On
Behalf Of natjai
Sent: Friday, April 11, 2008 11:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid itemRenderer and Loader Class
Hello,
I am new to flex, i apologize if this questions seems out of context.
I have an image loaded with the Loader class in actionscript (say
@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of natjai
Sent: Friday, April 11, 2008 11:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid itemRenderer and Loader Class
Hello,
I am new to flex, i apologize if this questions seems out of
context.
I have
Hi all
I am new to flex.
I managed to insert a numericStepper component into a datagrid via a
itemRenderer. What i want now is to display the value of the
numericStepper in a Label. I give an id=ns to the numericStepper and
the at the text attribute of label i enter text={ns.value} but it
doesnt
Where is the Label? Is it also a renderer or outside of the DG?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mousikos2001
Sent: Friday, February 29, 2008 8:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
Hii All,
I have a datagrid populated with a list of users. Also, am using in-place
item renderer for two columns.
What I want to do is:
Let the admin modify the various details of any number of users(multiple
rows).
After updating/changing the details, on the click of Update button,
I want to
Keep track in an itemEditEnd handler of which items need to be updated
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manu Dhanda
Sent: Thursday, September 27, 2007 1:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
I've been pulling my hair out trying to figure out the best way to
format numbers in a DataGrid. I've got a dataProvider with fields
used in the grids that are of type Number -- some are currency,
some are integers, and some are numbers that need to be formatted to
1 decimal point.
In other
read up on labelFunction
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of byte.sensei
Sent: Wednesday, September 26, 2007 7:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid itemRenderer
I've been pulling my hair out
:* [flexcoders] Datagrid itemRenderer
Hi all,
I want the color of the text in a particular cell of a Datagrid, modify
depending on the value of another cell, in the same record. I thought of
some function like labelFunction but it only applies to the text. I need to
modify the properties of the Label
I have a datagrid like below:
mx:DataGrid
columns
mx:DataGridColumn dataField=¡±name¡±/
mx:DataGridColumn dataField=¡±type¡±
itemRenderer
component
Hi, Im Aldo, and i appreciate ur help guys !.
First of all, im using a conventional datagrid, the info comes from a
webservice, weborb of php, the problem appears only if i create an
item renderer component and use it, if dont, nothing happens,
everything looks good and pretty, scrolling doesnt
I had a similar problem like this. Before the if statement where you are
checking if the value is not null, set this.text to . This has worked for
me in the past so give it a shot.
Regards,
Troy
On 6/6/07, alom17959 [EMAIL PROTECTED] wrote:
Hi, Im Aldo, and i appreciate ur help guys !.
Hello,
I have a datagrid I use to represent a shopping cart. One of the
columns will contain a button used for deleting an item from the cart.
The button is skinned with a custom graphic. I have been able to get
the button into the column. I did this by subclassing Button in
ActionScript,
Hi,
I'm not sure I fully understood your issue. Is it something to do
with transparency or background colour on your item renderers?
Why don't you post some example code so we can get a better idea of
what is not working.
Cheers,
Lach
On 06/12/2006, at 5:24 PM, rthi99 wrote:
Hi all,
Hi all,
I am using itemrenderer on headerclick of a datagrid trying to chane
colours based on values.
There seems to be a problem in the cells that i am not colouring.They
are colorless and it is not the same color as the datagrid as such..
The datragrid has alternating colors for rows.How can i
I have a datagrid with an itemRenderer in one of the columns. The
text in that column turns red if a condition is met. The example
below shows what I mean. However, if you scroll the datagrid or
resize the screen so that the DG needs to be redrawn, the
itemRenderer applies the setStyle to
I'm having the same problem, with a different approach but the result is the same. Any one can help?Thanks,Oriol.2006/8/18, Oscar
[EMAIL PROTECTED]:I have a datagrid with an itemRenderer in one of the columns. The
text in that column turns red if a condition is met. The examplebelow shows what
Hi,I've found this example (source view, see
AccountBalanceItemRenderer.as)
thanks to a prior post and it's working ok. I suppose there's a typo in your code, if not, maybe you should put the overridden function inside your class.Hope it helps,Oriol.
2006/8/18, Oriol Gual [EMAIL PROTECTED]:
I second this hell of a
bug.
What is going on there?
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clarke Bishop
Sent: Tuesday, August 01, 2006
3:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
ItemRenderer
I would
of a
bug.
What is going on there?
From:
[EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of Clarke Bishop
Sent: Tuesday, August 01, 2006
3:42 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] DataGrid
ItemRenderer
I would like to put in a
datagrid:
- A header
@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sinatosk
Sent: Tuesday, August 01, 2006
12:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid
ItemRenderer
don't think it's a bug...
I've changed the component a little and more is showing and the scroll bars
a spread sheet?
(thnx)
From:
[EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of sinatosk
Sent: Tuesday, August 01, 2006
12:06 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] DataGrid
ItemRenderer
don't think it's a bug...
I've changed the component
I would like to put in a datagrid:- A header title- Some HTML formatted text bullets- Use variableRowHeight since some entries are a lot taller than others.This doesn't sound that hard, but I'm having a devil of a time getting this to display properly! When you scroll down and back up, some of
I am using flex 2. i that I am using datagrid which has itemrenderer
in which i am using checkbox. selected and unselected status of
checkbox is comming from the dataprovider. but when i click on the
checkbox my dataprovider as well as my view should get update also i
should get the row index
Hi,
I can't seem to get an itemRenderer to work properly with my DataGrid.
I am trying to access the listData object to do some conditionals in
my renderer (eg. show a specific image based on row data). However,
my listData property is not getting set properly. Here's the renderer:
?xml
49 matches
Mail list logo