Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
sysadmin #1
CFGrid yet another question
Ok, I have spent days on this and have gotten nowhere. Can somebody help?
I have a CFGrid displaying information from a database. I would like a user
to be able to select a record and somehow pass the url to an edit screen so
they can access the full record. I see entries in the help file for using
Href and targets but I'm afraid this isn't clear. I already have the "edit"
screen which successfully accepts a url variable passed to it, I just need
that url variable set to what the user selects in the grid.
Can somebody help me out?
sysadmin Guest
-
cfgrid
I use a ldap to populate my cfgrid. Therefore, I do not use any cfcolumns within the cfgrid. How would I adjust the widths of the columns to fit... -
Urgent CFGrid-Combo-DataProvider Question
Dear all, I have this code to create combos in cfgrid. My question now is .. how to replace the hardcoded countries with query? The code is saved... -
CFGrid question - Help!
Ok, I have spent days on this and have gotten nowhere. Can somebody help? I have a CFGrid displaying information from a database. I would like a... -
Help with cfgrid question
Ok, I have spent days on this and have gotten nowhere. Can somebody help? I have a CFGrid displaying information from a database. I would like a... -
cfgrid question
I have a table that shows the stats for a league. wins, losses, ties, points, etc. I am trying to convert it to a cfgrid so each column can be... -
JMGibson3 #2
Re: CFGrid yet another question
Don't recall how I stumbled across it. Probably turned on debugging for the
Target page and saw what came in as URL variables. At any rate, back on
CF4.5.1 SP2, CFGRID generates a URL variable called CFGRIDKEY so following is
working for me. ID (poor choice I know) was the name of my Key column from the
query that i wanted to pass. Also I wanted a null prmID up top to standardize
since my action page could also be scheduled from a non_CFGRID source. When
you eliminate it i don't know if you need to eliminate the ? or leave it there
for the automatic CFGRIDKEY appending:
Grid Page:
<cfgrid HREF="action_GenQry_Detail.cfm?prmID="
HREFKEY="ID"
APPENDKEY="YES"
target="frame_content"
name="Whatever"
Query="GetListEntries"
HEIGHT="#Session.GenQry_Height#"
WIDTH="#Session.GenQry_Width#">
</cfgrid>
Action Page:
<cfif isDefined("URL.CFGRIDKEY")>
<cfset Session.ClickID= #url.CFGRIDKEY#>
<cfelse>
<cfset Session.ClickID= #url.prmID#>
</cfif>
JMGibson3 Guest



Reply With Quote

