File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Flex and the fly likes Adding link in datagrid - flex 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Adding link in datagrid - flex 4" Watch "Adding link in datagrid - flex 4" New topic
Author

Adding link in datagrid - flex 4

rashmi coorg
Greenhorn

Joined: Jul 11, 2011
Posts: 19
i have a datagrid in which one of the columns should display a link. But the label of link in all the rows is not the same.. how can i achieve this?

i have tried the Example: 'Using an item renderer with a List control' in the link http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_8.html
but not able to display the grid correctly...
Praveen Kumar M K
Ranch Hand

Joined: Jul 03, 2011
Posts: 256
Rashmi,

I'll give you the Flex 3 solution as I haven't worked on Flex 4. Overriding item renderer is indeed the way to go.

Every control, in your case DataGridColumn, has a item renderer property. You can add your own custom components to this renderer and that will be rendered when you compile the mxml although it might not be displayed in the Flex builder.

Try this, it might work.



Note : This is not a hyper link.

Thanks.
 
wood burning stoves
 
subject: Adding link in datagrid - flex 4
 
Similar Threads
Connecting flex with SAP server
Call servlets in Flex
Passing Flex objects to Java
[Spring Security] Unable to load flash file (.swf)
Struts-Layout Datagrid help