I don't see the link here.

You are probably doing something with that href and hrefkey but i have no
idea what, setup a proxy listener or just bind the summary to this grid. I
think you are making it harder than it needs to be. But I would need to see
the summary or how that works to be sure, is the summary another grid, or a
pod or a window etc.

Regards
Dale Fraser

http://learncf.com

-----Original Message-----
From: Philip Hayes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 16 October 2007 6:14 AM
To: CF-Talk
Subject: DataGrid with Dynamic Link

Hi Guys-

I'm trying to use the DataGrid for my log viewer, but i need to link  
the summary field to a details page.  When I use the code below, it  
appends all sorts of garbage onto the URL.  What am I doing wrong?


<cfform>
    <cfgrid name="log"
          format="html"
          pagesize="20"
          striperows="yes"
          delete="yes"
          bind="cfc:common.cfcs.log.getlog({cfgridpage},
                               {cfgridpagesize},
                               {cfgridsortcolumn},
                               {cfgridsortdirection})"
        >

       <cfgridcolumn name="datecreated" header="Date" width="100" />
       <cfgridcolumn name="type" header="Type" width="100"/>
       <cfgridcolumn name="category" header="Category" width="100"/>
       <cfgridcolumn name="summary" header="Summary"  
width="200"href="details.cfm" hrefkey="id"/>
       <cfgridcolumn name="details" header="Details" width="400"/>
    </cfgrid>
</cfform>

Thanks

Phil




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291160
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to