Hey all,
I'm using CFMX7. I'm curious if anyone has successfully used the
[b]Type="image"[/b] and/or the [b]textColor= "(C2 LT 0 ? red : pink)"[/b],
attributes to the CFGRIDCOLUMN tag. I'm using the tag in a Flash form to build
a Flash grid displaying the results of the query. I'd like one of the columns
to display an image. In the
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p51.htm here, for
the [b]Type[/b] attribute is says:
[Q]image: grid displays image that corresponds to value in column (a built-in
ColdFusion image name, or an image in cfide\classes directory or subdirectory
referenced with relative URL). If image is larger than column cell, it is
clipped to fit.[/Q]
Then it lists built-in image names of
[Q]
- cd
- computer
- document
- element
- folder
- floppy
- fixed
- remote
[Q]
So I created a field in my database I populated it with each of those built-in
names as values however I cannot get the image to display. I can get the column
to display on my Flash form but no images to display in the column. Instead I
get the standard html broken image link symbol. I've also tried putting the
relative URL to the images in the [B]CFIDE[/B] directory as the value in the
database field but still no go.
Has anyone ever successfully used this feature of CFGRIDCOLUMN before?
As for the textColor attribute, when I try to use the expression as outlined
in this
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p52.htm#wp3136084
to change the color of the text I can't get the form to render at all. The page
loads but the form won't show on it. Any ideas?
Any help is much appreciated. Thanks.
-Shannon