This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Flex and the fly likes How to display HyperLink on the DataGrid Component on to the column data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Flex
Bookmark "How to display HyperLink on the DataGrid Component on to the column data" Watch "How to display HyperLink on the DataGrid Component on to the column data" New topic
Author

How to display HyperLink on the DataGrid Component on to the column data

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am able to display customer data on to the DataGrid with the help of a ArrayCollection,
Similar as shown :


Please tell me what should be the value inside the itemRenderer to make the customerid display as an HyperLink ??

I am struck up mx.controls.----??

Please suggest me a value of the itemRenderer in this case .

Thanks in advance .



Thnaks in advance .

Save India From Corruption - Anna Hazare.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

The only controls that support HTML (after a fashion) are text controls. Make your item renderer one of those and you'll get this behaviour. Otherwise you'll need to handle the user input yourself accordingly.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to display HyperLink on the DataGrid Component on to the column data