Skip navigation
Mission2k
Currently Being Moderated

HTML Link in Datagrid

Feb 23, 2008 5:08 PM

Is there a way to create an html link in one of the columns of a datagrid?
 
Replies
  • Currently Being Moderated
    Feb 24, 2008 7:35 PM   in reply to Mission2k
    Yes. Here is how:

    1) create a new item renderer based on link button
    2) use appropriate styles to make it look like a URL the way you want
    3) use navigateToUrl global function to on the click handler of this button

    ATTA
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 25, 2008 10:14 AM   in reply to Mission2k
    Here is a full example. Note that it uses a custom event, but that is not really necessary. Instead, you can make a public property in the renderer that contains the data you need, then access that property in the result handler, via the "target" event.property.

    http://www.cflex.net/showFileDetails.cfm?ObjectID=595

    Tracy
     
    |
    Mark as:
  • Currently Being Moderated
    Nov 3, 2009 4:12 AM   in reply to Mission2k

    but i have TextEvent link like

    <a href="event:movies">movies</a>

    which has to listened by the datagrid.

     

    I couldnt debug why it doesn't work. Is there a way please.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points