File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
How to display HyperLink on the DataGrid Component on to the column data
Ravi Kiran Va
Joined: Apr 18, 2009
May 04, 2010 00:02:44
I am able to display customer data on to the DataGrid with the help of a ArrayCollection,
Similar as shown :
<mx:columns> <mx:DataGridColumn dataField="customerid" headerText="Employee ID" itemRenderer=""/> </mx:columns>
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.
Joined: Apr 14, 2004
May 04, 2010 07:19:58
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.
It is sorta covered in the
JavaRanch Style Guide
subject: How to display HyperLink on the DataGrid Component on to the column data
Obtaining a refference to the action form from a jsp page
How to Make DataGrid configured to act only on a Specific column on a Row
struts layout datacolumn
Problem with SYS_CONNECT_BY_PATH
Getting data from actionscript class file into Datagrid
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015