This has been solved before.  I think it involves checking mouseX/mousey on the 
contextmenu events.  Search the archives for mouseX/mouseY

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dharmendra Chauhan
Sent: Wednesday, May 06, 2009 12:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Changing the BG color of selected row on contect menu 
item click





Hi All,
I want to change the BG color of selected row on context Menu Item click.

Actually , I have two context Menu Item

1) highlight

2)un-highlight

they highlight/un-highlight selected row on click event.

I found some resource on google ,all of them changing bg color in 
drawRowBackground(), but in my case I cant use it as I have to execute this 
logic on context item click.

Pleas suggest some ideas.

Second requirement is ,when user sort the grid after highlighting row , color 
of all highlighted row should remain same irresevtive of their new position.


Thanks,
Dharmendra

Reply via email to