Ask a Question related to Coldfusion Database Access, Design and Development.
-
sysadmin #1
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 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 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... -
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... -
sysadmin #2
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 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
-
jmj #3
Re: CFGrid question - Help!
The help file is correct you will want to use the a href tag. Choose the
column that you want the user to click (Name/Title/whatever)
Then you will wrap the a href around the variable in the column and send the
Id or whatever
<a href="Mypage.cfm?ID=#query.ID#>#query.NAME#</A>
You use the query that is populating the grid as the query that will send the
id in the url.
So now if my grid showed the following:
Name Address City State Zip Phone
All the names listed would be highlighted as a link.
Hope this helps. Good luck.
jmj Guest



Reply With Quote

