[flexcoders] datagrid itemrenderer breaks custom tooltip

2010-07-02 Thread Scott
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

Re: [flexcoders] DataGrid ItemRenderer Problem

2010-05-26 Thread Alex Harui
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

[flexcoders] DataGrid ItemRenderer Problem

2010-05-25 Thread jmfillman
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()/

[flexcoders] dataGrid ItemRenderer Error

2010-05-05 Thread jmfillman
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

Re: [flexcoders] dataGrid ItemRenderer Error

2010-05-05 Thread Alex Harui
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

Re: [flexcoders] Datagrid itemrenderer for adding multiple linkbuttons in same gridcolumn

2010-01-13 Thread Tino Dai
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

[flexcoders] Datagrid itemrenderer for adding multiple linkbuttons in same gridcolumn

2010-01-12 Thread aramsdell2000
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

[flexcoders] Datagrid Itemrenderer Doubt

2009-03-10 Thread venkat eswar
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

RE: [flexcoders] DataGrid itemRenderer Woes

2008-11-24 Thread Alex Harui
:[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

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-24 Thread Simon Bailey
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

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
: 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

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
@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

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
@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

RE: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Alex Harui
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

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
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

[flexcoders] DataGrid itemRenderer Woes

2008-11-22 Thread Simon Bailey
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

RE: [flexcoders] DataGrid itemRenderer Woes

2008-11-22 Thread Alex Harui
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

[flexcoders] DataGrid ItemRenderer - Reuse with Parameters vs Cloning

2008-11-12 Thread pbrendanc
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

RE: [flexcoders] DataGrid ItemRenderer - Reuse with Parameters vs Cloning

2008-11-12 Thread Alex Harui
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

[flexcoders] datagrid itemRenderer help

2008-10-06 Thread Greg Morphis
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%

[flexcoders] datagrid, itemrenderer images and events, . looking for a solution

2008-09-08 Thread Sanjay Hora
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

RE: [flexcoders] datagrid, itemrenderer images and events, . looking for a solution

2008-09-08 Thread Alex Harui
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

[flexcoders] DataGrid itemRenderer current row and column

2008-08-26 Thread robin bakkerus
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

[flexcoders] DataGrid itemRenderer and Loader Class

2008-04-11 Thread natjai
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

RE: [flexcoders] DataGrid itemRenderer and Loader Class

2008-04-11 Thread Alex Harui
] 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

Re: [flexcoders] DataGrid itemRenderer and Loader Class

2008-04-11 Thread Douglas Knudsen
@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

[flexcoders] DataGrid-itemRenderer-NumericStepper-sending data question

2008-02-29 Thread mousikos2001
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

RE: [flexcoders] DataGrid-itemRenderer-NumericStepper-sending data question

2008-02-29 Thread Alex Harui
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

[flexcoders] DataGrid ItemRenderer

2007-09-27 Thread Manu Dhanda
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

RE: [flexcoders] DataGrid ItemRenderer

2007-09-27 Thread Alex Harui
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

[flexcoders] DataGrid itemRenderer

2007-09-26 Thread byte.sensei
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

RE: [flexcoders] DataGrid itemRenderer

2007-09-26 Thread Alex Harui
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

Re: [flexcoders] Datagrid itemRenderer

2007-06-14 Thread André Rodrigues Pena
:* [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

[flexcoders] DataGrid + ItemRenderer Bugs?

2007-06-10 Thread zedan_gu
I have a datagrid like below: mx:DataGrid columns mx:DataGridColumn dataField=¡±name¡±/ mx:DataGridColumn dataField=¡±type¡± itemRenderer component

[flexcoders] DataGrid - ItemRenderer BUG on scrolling.

2007-06-06 Thread alom17959
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

Re: [flexcoders] DataGrid - ItemRenderer BUG on scrolling.

2007-06-06 Thread Troy A. Binford
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 !.

[flexcoders] DataGrid, itemRenderer, button with custom image resizing

2007-03-22 Thread wdsnapper
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,

Re: [flexcoders] datagrid itemrenderer

2006-12-14 Thread Lachlan Cotter
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,

[flexcoders] datagrid itemrenderer

2006-12-06 Thread rthi99
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

[flexcoders] DataGrid ItemRenderer erratic setStyle - Is this a bug?

2006-08-18 Thread Oscar
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

Re: [flexcoders] DataGrid ItemRenderer erratic setStyle - Is this a bug?

2006-08-18 Thread Oriol Gual
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

Re: [flexcoders] DataGrid ItemRenderer erratic setStyle - Is this a bug?

2006-08-18 Thread Oriol Gual
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]:

RE: [flexcoders] DataGrid ItemRenderer

2006-08-01 Thread Matti Bar-Zeev
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

Re: [flexcoders] DataGrid ItemRenderer

2006-08-01 Thread sinatosk
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

RE: [flexcoders] DataGrid ItemRenderer

2006-08-01 Thread Matti Bar-Zeev
@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

Re: [flexcoders] DataGrid ItemRenderer

2006-08-01 Thread sinatosk
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

[flexcoders] DataGrid ItemRenderer

2006-07-31 Thread Clarke Bishop
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

[flexcoders] Datagrid itemrenderer

2006-07-25 Thread sumeetk2111
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

[flexcoders] DataGrid itemRenderer listData is null

2006-06-12 Thread Brendan Meutzner
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