[flexcoders] Line Series - does not show anything for single data point

2009-04-28 Thread rviswanathan

Hi 

I am trying to plot a line series; it works fine when I have multiple data
points, however it doesn't work when I have just one data point. I am trying
to see if this one data point can show up as a circle rather than not
showing up anything at all.

SWF and source attached. The chart initially loads with data; when I change
the DP to just one data point, nothing would show up.

Can someone please help?

Thanks
Ram

http://www.nabble.com/file/p23276787/SingleDataPointLineChart.swf
SingleDataPointLineChart.swf 
http://www.nabble.com/file/p23276787/SingleDataPointLineChart.mxml
SingleDataPointLineChart.mxml 
http://www.nabble.com/file/p23276787/MyLineRenderer.as MyLineRenderer.as 
-- 
View this message in context: 
http://www.nabble.com/Line-Series---does-not-show-anything-for-single-data-point-tp23276787p23276787.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] NPE on ToolTipManagerImpl/reset()

2009-01-19 Thread rviswanathan

Hi 

I am reopening this thread. I am unable to get around this NPE issue. I
tried to do the following

Set the visibility of ToolTipManager.currentTooltip to false (instead of
destroying it)
Disable the tooltip when I make a service call and enable it on response. 
 
However, I still get the exception stated in my earlier mail below. The
exception occurs either on mouseOut or mouseOver tool tip handlers and the
trace leads all the way to ToolTipManagerImpl.reset() method. 

Thanks  Regards
Ram

_


rviswanathan wrote:
 
 Thanks Alex. Since the destroyToolTip is public and the doc says not to
 call it on the currentToolTip, I'd probably think that it is used when we
 explicitly create and destroy tooltips.
 
 About faking the mouse event that you have mentioned, are you meaning that
 I need to add my own tooltipmouseouthandler and put in my logic in this
 handler? 
 
 Thanks
 Ram
 
 
 
 Alex Harui wrote:
 
 The doc says don't call destroyToolTIp on the current tooltip.  I'd
 search around to see if anyone else has a way of causing a tooltip to go
 away, but I'd probably do it by faking a mouse event instead of calling
 an mx_internal method.
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of rviswanathan
 Sent: Sunday, November 30, 2008 11:52 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] NPE on ToolTipManagerImpl/reset()
 
 
 Hi All
 
 I am facing an NPE with tooltips, the problem is outlined below.
 
 Set up: (I use Flex 2.0)
 I have a UI where I have a datagrid that gets populated by data coming
 from
 a remote server call. My module contains a timer that sends out a refresh
 request (server call) to paint the datagrid with the latest data. This
 timer
 fires every 20 seconds. Also, when I point to a datagrid cell, I see the
 tooltip that shows the content of this cell.
 
 This is what I have done to disable and enable tooltips during the server
 call.
 a) Prior to makign the server call, I destroy the current tooltip using
 ToolTipManager.destroyToolTip(). I also set the
 ToolTipManager.currentToolTip to null. I also make ToolTipManager.enabled
 as
 false.
 b) On getting a response from the server, I set ToolTipManager.enabled as
 true.
 
 Now, here's the problem.
 I keep my mouse on a cell and a tooltip is displayed. At some time T, the
 20
 second timer fires that makes a server call. At this very same moment, I
 move my mouse out of the cell, so the tooltip's mouseouthandler gets
 called.
 
 I get an exception in ToolTipManagerImpl/reset() method. From the trace,
 it
 shows an NPE. This happens only when I move the mouse out of a tooltip
 and a
 refresh call to the server goes.
 
 The lines around getSystemManager(previousTarget) is where I think I hit
 an
 exception, probably because the system manager for the previousTarget is
 null and the next line throws an NPE, although I am not a 100% sure.
 
 From ToolTipManagerImpl.reset() method
 
 private function reset():void
 {
 
 
 if (currentToolTip)
 {
 
 
 
 // Remove it.
 var sm:ISystemManager = getSystemManager(previousTarget);
 sm.toolTipChildren.removeChild(DisplayObject(currentToolTip));
 currentToolTip = null;
 
 
 
 }
 
 }
 
 Any pointers to overcome this would really help.
 
 Thanks
 Ram
 
 --
 View this message in context:
 http://www.nabble.com/NPE-on-ToolTipManagerImpl-reset%28%29-tp20761439p20761439.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/NPE-on-ToolTipManagerImpl-reset%28%29-tp20761439p21541940.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Shift+Select - Issue with ListBase

2008-12-23 Thread rviswanathan

Hi 

I am reopening this topic. I am facing an issue with a list that allows
multi select. I am using Flex 2.0. I see that this is fixed in Flex 3.0, but
I am not sure how to go about fixing this problem in 2.0

I run the source code below. 
1. On load of the application, I set the first item in the list as selected.
(selectedIndex = 0). At this point, I am able to use Shift key to multi
select. 
2. I have a button, on click of this button, I change my selected items so
as to select the first 2 items (selectedIndices = 0  1). When this happens,
if I try to do a shift+select, it does not work (until I make another
selection either with a click or Ctrl+Click). 

The anchor bookmark, anchor index, caret bookmark and caret index are not
getting set when I set selectedItems or selectedIndices. I see this fixed as
part of setSelectionIndicesLoop and setSelectionDataLoop in the Flex 3
ListBase.as. 

Even if I attempt to subclass ListBase, I hit private members that I would
not be able to access. Is there any other workaround for me to fix this? 

?xml version=1.0? 
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=selectDefault(event);  
mx:Script 
![CDATA[ 
private function selectDefault(e:Event) : void { 
lst.selectedIndex = 0; 
} 

private function selectFirstTwo(e:Event) : void { 
var arr:Array = [0,1]; 
lst.selectedIndices = arr; 
} 
]] 
/mx:Script 

mx:List id=lst allowMultipleSelection=true width=100 
mx:dataProvider 
mx:StringAK/mx:String 
mx:StringAL/mx:String 
mx:StringAR/mx:String 
mx:StringAB/mx:String 
mx:StringAC/mx:String 
mx:StringAD/mx:String 
/mx:dataProvider 
/mx:List 
mx:Button label=Select First 2 Elements!
click=selectFirstTwo(event)/ 
/mx:Application 


Thanks
Ram
-- 
View this message in context: 
http://www.nabble.com/Shift%2BSelect---Issue-with-ListBase-tp21151088p21151088.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Multi Select List - Issue

2008-12-04 Thread rviswanathan

Hi 

I am facing an issue with a list that allows multi select. I am using Flex
2.0. 

1. On load of the application, I set the first item in the list as selected.
(selectedIndex = 0). At this point, I am able to use Shift key to multi
select. 
2. I have a button, on click of this button, I change my selected items so
as to select the first 2 items (selectedIndices = 0  1). When this happens,
if I try to do a shift+select, it does not work (until I make another
selection either with a click or Ctrl+Click).

Source code below. Is the anchor bookmark getting lost?  I see it getting
set only as part of the selectedIndex method. How can I get around this
problem? 

?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=selectDefault(event); 
mx:Script
![CDATA[
private function selectDefault(e:Event) : void {
lst.selectedIndex = 0;
}

private function selectFirstTwo(e:Event) : void {
var arr:Array = [0,1];
lst.selectedIndices = arr;
}
]]
/mx:Script

mx:List id=lst allowMultipleSelection=true width=100
mx:dataProvider
mx:StringAK/mx:String
mx:StringAL/mx:String
mx:StringAR/mx:String
mx:StringAB/mx:String
mx:StringAC/mx:String
mx:StringAD/mx:String
/mx:dataProvider
/mx:List
mx:Button label=Select First 2 Elements!
click=selectFirstTwo(event)/
/mx:Application 


Thanks
Ram
-- 
View this message in context: 
http://www.nabble.com/Multi-Select-List---Issue-tp20846980p20846980.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] NPE on ToolTipManagerImpl/reset()

2008-11-30 Thread rviswanathan

Hi All

I am facing an NPE with tooltips, the problem is outlined below.

Set up: (I use Flex 2.0)
I have a UI where I have a datagrid that gets populated by data coming from
a remote server call. My module contains a timer that sends out a refresh
request (server call) to paint the datagrid with the latest data. This timer
fires every 20 seconds. Also, when I point to a datagrid cell, I see the
tooltip that shows the content of this cell.

This is what I have done to disable and enable tooltips during the server
call.
a) Prior to makign the server call, I destroy the current tooltip using
ToolTipManager.destroyToolTip(). I also set the
ToolTipManager.currentToolTip to null. I also make ToolTipManager.enabled as
false.
b) On getting a response from the server, I set ToolTipManager.enabled as
true.


Now, here's the problem.
I keep my mouse on a cell and a tooltip is displayed. At some time T, the 20
second timer fires that makes a server call. At this very same moment, I
move my mouse out of the cell, so the tooltip's mouseouthandler gets called.

I get an exception in ToolTipManagerImpl/reset() method. From the trace, it
shows an NPE. This happens only when I move the mouse out of a tooltip and a
refresh call to the server goes.

The lines around getSystemManager(previousTarget) is where I think I hit an
exception, probably because the system manager for the previousTarget is
null and the next line throws an NPE, although I am not a 100% sure. 

From ToolTipManagerImpl.reset() method

private function reset():void
{
  
  
if (currentToolTip)
{



// Remove it.
var sm:ISystemManager = getSystemManager(previousTarget);
sm.toolTipChildren.removeChild(DisplayObject(currentToolTip));
currentToolTip = null;
  
 

   }

  }

Any pointers to overcome this would really help. 

Thanks
Ram

-- 
View this message in context: 
http://www.nabble.com/NPE-on-ToolTipManagerImpl-reset%28%29-tp20761439p20761439.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] NPE on ToolTipManagerImpl/reset()

2008-11-30 Thread rviswanathan

Thanks Alex. Since the destroyToolTip is public and the doc says not to call
it on the currentToolTip, I'd probably think that it is used when we
explicitly create and destroy tooltips.

About faking the mouse event that you have mentioned, are you meaning that I
need to add my own tooltipmouseouthandler and put in my logic in this
handler? 

Thanks
Ram



Alex Harui wrote:
 
 The doc says don't call destroyToolTIp on the current tooltip.  I'd search
 around to see if anyone else has a way of causing a tooltip to go away,
 but I'd probably do it by faking a mouse event instead of calling an
 mx_internal method.
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of rviswanathan
 Sent: Sunday, November 30, 2008 11:52 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] NPE on ToolTipManagerImpl/reset()
 
 
 Hi All
 
 I am facing an NPE with tooltips, the problem is outlined below.
 
 Set up: (I use Flex 2.0)
 I have a UI where I have a datagrid that gets populated by data coming
 from
 a remote server call. My module contains a timer that sends out a refresh
 request (server call) to paint the datagrid with the latest data. This
 timer
 fires every 20 seconds. Also, when I point to a datagrid cell, I see the
 tooltip that shows the content of this cell.
 
 This is what I have done to disable and enable tooltips during the server
 call.
 a) Prior to makign the server call, I destroy the current tooltip using
 ToolTipManager.destroyToolTip(). I also set the
 ToolTipManager.currentToolTip to null. I also make ToolTipManager.enabled
 as
 false.
 b) On getting a response from the server, I set ToolTipManager.enabled as
 true.
 
 Now, here's the problem.
 I keep my mouse on a cell and a tooltip is displayed. At some time T, the
 20
 second timer fires that makes a server call. At this very same moment, I
 move my mouse out of the cell, so the tooltip's mouseouthandler gets
 called.
 
 I get an exception in ToolTipManagerImpl/reset() method. From the trace,
 it
 shows an NPE. This happens only when I move the mouse out of a tooltip and
 a
 refresh call to the server goes.
 
 The lines around getSystemManager(previousTarget) is where I think I hit
 an
 exception, probably because the system manager for the previousTarget is
 null and the next line throws an NPE, although I am not a 100% sure.
 
 From ToolTipManagerImpl.reset() method
 
 private function reset():void
 {
 
 
 if (currentToolTip)
 {
 
 
 
 // Remove it.
 var sm:ISystemManager = getSystemManager(previousTarget);
 sm.toolTipChildren.removeChild(DisplayObject(currentToolTip));
 currentToolTip = null;
 
 
 
 }
 
 }
 
 Any pointers to overcome this would really help.
 
 Thanks
 Ram
 
 --
 View this message in context:
 http://www.nabble.com/NPE-on-ToolTipManagerImpl-reset%28%29-tp20761439p20761439.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/NPE-on-ToolTipManagerImpl-reset%28%29-tp20761439p20763093.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Dispatch events - sequencing

2008-11-19 Thread rviswanathan

I have a flex module where events get dispatched based on user clicks. The
user can click on several areas of the screen and each click would dispatch
an event. I am trying to figure out if the order in which the user clicks
would be the order in which the events would be dispatched? (I am not taking
about the callbacks here, they can come in any order)

For example, if the user clicks 5 times on a UI area that would dispatch an
event with every click, is it correct to assume that the 5 events will be
dispatched in the same order as the clicking was done? I am using Cairngorm
to dispatch these events.

If this is  a wrong assumption, is this even feasible? 

Thanks  Regards
Ram
-- 
View this message in context: 
http://www.nabble.com/Dispatch-events---sequencing-tp20587631p20587631.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Flex builder 2 standalone - plugin wouldn't show up

2008-11-01 Thread rviswanathan

Hi 

I am new to plugin development and I startded off by creating a sample
plugin using flex builder 3 plugin version. These are the steps that I
followed

a) Installed eclipse 3.2 and Flex Builder 3 plugin version (trial)
b) Created a sample plugin and packaged it
c) extracted the plugin to a location c:\program files\adobe\flex builder
2\plugins (This is where I have Flex2 standalone installed and running)

I closed Flex Builder 2 standalone and restarted it, however I cannot see my
plugin (I created a toolbar with a simple button and an action).

I think I am missing something. Can someone please help?

Thanks
Ram
-- 
View this message in context: 
http://www.nabble.com/Flex-builder-2-standalone---plugin-wouldn%27t-show-up-tp20287312p20287312.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Flex builder 2 standalone - plugin wouldn't show up

2008-11-01 Thread rviswanathan

Hi 

I am new to plugin development and I startded off by creating a sample
plugin using flex builder 3 plugin version. These are the steps that I
followed

a) Installed eclipse 3.2 and Flex Builder 3 plugin version (trial)
b) Created a sample plugin and packaged it
c) extracted the plugin to a location c:\program files\adobe\flex builder
2\plugins (This is where I have Flex2 standalone installed and running)

I closed Flex Builder 2 standalone and restarted it, however I cannot see my
plugin (I created a toolbar with a simple button and an action).

I think I am missing something. Can someone please help?

Thanks
Ram
-- 
View this message in context: 
http://www.nabble.com/Flex-builder-2-standalone---plugin-wouldn%27t-show-up-tp20287313p20287313.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] TextArea Issue - adds an extra \r

2008-10-01 Thread rviswanathan

Hi All

I have a textarea where I enter some information and submit. These are the
following steps

1. Run the attached swf
2. In the textarea, clear the contents and enter some text, say Sample
Text (Do not move out of the textarea until completing the next 2 steps)
3. Press the carriage return 
4. Now press backspace - We would now end up with exactly the same text as
in Step2 Sample Text
5. Click the submit button - When I debug, I notice that the actual text
that the textarea holds is Sample Text\r instead of Sample Text.

I am not sure why \r gets added in this case. Is this an issue with
textarea?  Or is my understanding incorrect?

I have attached the source code as well. Please help.

Thanks
Ram

http://www.nabble.com/file/p19761965/TextAreaIssue.mxml TextAreaIssue.mxml 
http://www.nabble.com/file/p19761965/TextAreaIssue.swf TextAreaIssue.swf 
-- 
View this message in context: 
http://www.nabble.com/TextArea-Issue---adds-an-extra-%22%5Cr%22-tp19761965p19761965.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] TextArea Issue - adds an extra \r

2008-10-01 Thread rviswanathan

Thanks Tim. I agree that these are escape chars. But when I do a backspace,
do I not nullify the effect of the carriage return? Why would it still hold
a \r? 

If I am validating the content of this textarea, then do I have to look for
a \r in the end and strip it if it exists? 

Thanks
Ram



Tim Hoff wrote:
 
 
 Those are the escape characters for the carraige return Ram.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, rviswanathan [EMAIL PROTECTED]
 wrote:


 Hi All

 I have a textarea where I enter some information and submit. These are
 the
 following steps

 1. Run the attached swf
 2. In the textarea, clear the contents and enter some text, say
 Sample
 Text (Do not move out of the textarea until completing the next 2
 steps)
 3. Press the carriage return
 4. Now press backspace - We would now end up with exactly the same
 text as
 in Step2 Sample Text
 5. Click the submit button - When I debug, I notice that the actual
 text
 that the textarea holds is Sample Text\r instead of Sample Text.

 I am not sure why \r gets added in this case. Is this an issue with
 textarea? Or is my understanding incorrect?

 I have attached the source code as well. Please help.

 Thanks
 Ram

 http://www.nabble.com/file/p19761965/TextAreaIssue.mxml
 TextAreaIssue.mxml
 http://www.nabble.com/file/p19761965/TextAreaIssue.swf
 TextAreaIssue.swf
 --
 View this message in context:
 http://www.nabble.com/TextArea-Issue---adds-an-extra-%22%5Cr%22-tp197619\
 65p19761965.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/TextArea-Issue---adds-an-extra-%22%5Cr%22-tp19761965p19763919.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] VDividedBox - prevent dragging of divider

2008-09-11 Thread rviswanathan

Thanks Sherif for the response. 

I am trying to do this to achieve 2 needs.
a) I need the divider to move by a standard number up or down on click of
the divider. I am able to do this by moving the divider up or down inside
the dividerPress handler - no problem here

b) I also want to avoid dragging of the divider (only the click should move
it, drag should have no effect) - this is where I am stuck...

Is this feasible? 

Thanks
Ram
___



Sherif Abdou-2 wrote:
 
 You can extend the VDividedBox and override 
 override public function moveDivider(i:int, amt:Number):void
 
 {
 
 //leave it blank
 
 }
 
 --
 Sherif Abdou
 http://VadexFX.com
 http://Sherifabdou.com
   - Original Message - 
   From: Nate Beck 
   To: flexcoders@yahoogroups.com 
   Sent: Wednesday, September 10, 2008 11:27 AM
   Subject: Re: [flexcoders] VDividedBox - prevent dragging of divider
 
 
 
   Why wouldn't you just use a Vbox instead?  My guess would be that you
 like the dragger thing being there?
 
 
   On Wed, Sep 10, 2008 at 9:01 AM, rviswanathan
 [EMAIL PROTECTED] wrote:
 
 
 Hi 
 
 I have a simple mxml with a vdividerbox that has 2 children. I am
 trying to
 find out if the divider drag can be disabled. 
 
 The divider should not be draggable. Is there a way to do this? 
 
 I was thinking along the lines of subclassing the dividerbox and the
 boxdivider classes, but couldn't find a way to start.
 
 Any pointers would really help...
 
 Thanks
 Ram
 -- 
 View this message in context:
 http://www.nabble.com/VDividedBox---prevent-dragging-of-divider-tp19414832p19414832.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 

 

-- 
View this message in context: 
http://www.nabble.com/VDividedBox---prevent-dragging-of-divider-tp19414832p19438499.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] VDividedBox - prevent dragging of divider

2008-09-10 Thread rviswanathan

Hi 

I have a simple mxml with a vdividerbox that has 2 children. I am trying to
find out if the divider drag can be disabled. 

The divider should not be draggable. Is there a way to do this? 

I was thinking along the lines of subclassing the dividerbox and the
boxdivider classes, but couldn't find a way to start.

Any pointers would really help...

Thanks
Ram
-- 
View this message in context: 
http://www.nabble.com/VDividedBox---prevent-dragging-of-divider-tp19414832p19414832.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Keep combobox open to allow multiselect

2008-06-05 Thread rviswanathan

I am still not clear on how this can be done. I must use a combobox (this is
a must-have for me). This is what I attempted... can you please give some
pointers based on my code below? 

?xml version=1.0 encoding=utf-8?
mx:ComboBox xmlns:mx=http://www.adobe.com/2006/mxml; change=close()
mx:Script
![CDATA[

override public function close(trigger:Event = null):void {
//Do nothing
}
]]  
/mx:Script
mx:dropdownFactory
mx:Component
mx:List
mx:itemRenderer
mx:Component
mx:CheckBox selectedField=isSelected
click=onChange(event);
mx:Script
![CDATA[
private function 
onChange(evt:Event):void {
   data.isSelected = !data.isSelected;
}
]]
/mx:Script
/mx:CheckBox
/mx:Component
/mx:itemRenderer
/mx:List
/mx:Component
/mx:dropdownFactory   
/mx:ComboBox



Thanks
Ram

--


rviswanathan wrote:
 
 Hi 
 
 I have created a combo box with a checkbox renderer on each of its items.
 When I select an entry in the combobox, the box closes automatically.
 
 I want to prevent his so that I can multiselect elements in the combobox.
 
 Is there a way to do this? Even if I extend the ComboBox and override its
 close method, the combobox still closes (and I realized that there is a
 private method in ComboBox.as called destroyDropdown() which gets called
 when the collection that the combobox holds changes.
 
 Thanks
 Ram
 

-- 
View this message in context: 
http://www.nabble.com/Keep-combobox-open-to-allow-multiselect-tp17644507p17666884.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Keep combobox open to allow multiselect

2008-06-04 Thread rviswanathan

Hi 

I have created a combo box with a checkbox renderer on each of its items.
When I select an entry in the combobox, the box closes automatically.

I want to prevent his so that I can multiselect elements in the combobox.

Is there a way to do this? Even if I extend the ComboBox and override its
close method, the combobox still closes (and I realized that there is a
private method in ComboBox.as called destroyDropdown() which gets called
when the collection that the combobox holds changes.

Thanks
Ram
-- 
View this message in context: 
http://www.nabble.com/Keep-combobox-open-to-allow-multiselect-tp17644507p17644507.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] select datagrid column cells based on checkbox click

2008-05-30 Thread rviswanathan

Hi 

I have a datagrid and a checkbox outside of it. When I click the checkbox, I
need a specific set of cells (not complete rows) on only one of the columns
to be highlighted (with some background color).

How can I go about doing this? 

This is what I attempted. 
a) I have an itemRenderer associated with this column. 
b) WHen I select the checkbox, how will this itemrenderer actually get
invoked? Do I have to do a refresh or do anything with the data provider?
(The checkbox is a separate control outside the grid, both these are in the
same mxml)
c) Even if the itemrenderer gets invoked, I have no idea of what the
selected state of the checkbox is (cos I need to restore the original color
when the checkbox is unchecked).

Can you please advice? 

Thanks
Ram
-- 
View this message in context: 
http://www.nabble.com/select-datagrid-column-cells-based-on-checkbox-click-tp17566694p17566694.html
Sent from the FlexCoders mailing list archive at Nabble.com.