cfgrid and href attribute issue
HI Gang-
I'm building a relatively simple query driven cfgrid, read-only for the most part but I need one of the columns to be a href value that will serve as a drilldown. Everything working fine except that the name/value pair I need appended to the url is being persnickety.
The url I'd like to build and have effected in the cfgrid is something like "index.cfm?action=drilldown&orderid=#dynamicValue#"
I finally got it to work, but not as I would like. Turns out both cfgrid and cfgridcolumn tags each have the "href" and the "hrefkey" attributes, which made for a confusing 45 minutes of trial and error. The closest I could eventually come to my target url of:
index.cfm?action=drilldown&orderid=#dynamicValue#
is actually
index.cfm?action=drilldown&CFGRIDKEY=#dynamicValue#
Not what I wanted but I can deal for now.
Has anyone gotten a hold of building out hrefs in cfgrid using custom name/value pairs dynamically? Would love to know how you did it. Code postings would be even better!
Many thanks,
Rich
