Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Carolyn.Hajnasiewicz #1
Re: Help with CFGridColumn and Href
I must be missing something. Yes this works but only if I hard code the file
names....
..."when you query your db, and one of the columns have the pdf file names -
that is the same as this line pdf columns in the admin query that I hard
coded. ( querySetCell(admin, "pdf", "file1.pdf"); )"
I will not have knowledge of the file names, and there will potentially be
hundreds of unique .PDF file names.
Carolyn.Hajnasiewicz Guest
-
Flash CFGRIDCOLUMN Help
Hey all, I'm using CFMX7. I'm curious if anyone has successfully used the Type="image" and/or the textColor= "(C2 LT 0 ? red : pink)",... -
CFGRIDCOLUMN VALUES Not Working
I would like my editable CFGRID to display a list in some of the CFGRIDCOLUMN's. I have been unsuccessful at displaying values for user selection... -
cfgridcolumn and numberformat
hello! how do we have to use the numberformat function in a flash-cfgrid? we want to achieve international number formats, e.g.: ?123.456,00 within... -
CFGRIDCOLUMN - flash form
Is it possible to get text to appear on more than one line i.e. text wraping inside of a cfgridcolum, used inside of a flash form? These flash forms... -
cfgridcolumn value control
When displaying a grid column value isn't possible to control the value displayed instead of what is actually in the database? I used the following... -
Mike Nimer #2
Re: Help with CFGridColumn and Href
You don't need to know the file name, just the query column that contains
the name. All the code is doing it attaching the value of the column in the
selected row.
If you want to send me a simple access db and a sample I'll see if I can
tell why it isn't working for you.
---nimer
"Carolyn.Hajnasiewicz" <webforumsuser@macromedia.com> wrote in message
news:cv503b$78o$1@forums.macromedia.com...>I must be missing something. Yes this works but only if I hard code the
>file
> names....
>
> ..."when you query your db, and one of the columns have the pdf file
> names -
> that is the same as this line pdf columns in the admin query that I hard
> coded. ( querySetCell(admin, "pdf", "file1.pdf"); )"
>
> I will not have knowledge of the file names, and there will potentially be
> hundreds of unique .PDF file names.
>
Mike Nimer Guest
-
SiriusPhil #3
Re: Help with CFGridColumn and Href
For the record, the href attribute does not work in the Flash format. You need to use a Javascript if you want to link a row to a URL.
Phiul Hayes
SiriusPhil Guest
-
ArtNirvana #4
Re: Help with CFGridColumn and Href
The HREF attribute works in FLASH format for me.
ArtNirvana Guest
-
Carolyn.Hajnasiewicz #5
Re: Help with CFGridColumn and Href
I haven't upgraded to CF7 yet, what's your take on the new Flash interface for
CFGrid? CFGrid works so well for me and I am anxious to upgrade but would like
to anticipate possible issues/resolution before hand.
Carolyn.Hajnasiewicz Guest
-
MikeyJ #6
Re: Help with CFGridColumn and Href
Hi Carolyn, If you haven't figured it out already, this will work.
[url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3&th[/url]
readid=967328&enterthread=y It will open the pdf in a new window. Mike
MikeyJ Guest
-
MikeyJ #7
Re: Help with CFGridColumn and Href
Carolyn, Just realized that you said only the pdf NAMES are in the column in
the table. In my example, I stored the entire url in the table so I just
needed to specify the column name and I was good to go. IF your pdf's are
going to be in the same directory then you can add the first part of the url
all the way up to the filename into the example I provided. If you have
trouble figuring it out, let me know. And to respond to the couple of posts
above your last, Flash CFGrid DOES NOT directly support the href property but
you can use Actionscript not Javascript in the onChange property of the grid to
emulate the functionality. Mike
MikeyJ Guest



Reply With Quote

