This content has been marked as final.
Show 4 replies
-
1. Re: cfgridsortcolumn
Dan Bracuk Jul 31, 2008 12:04 PM (in response to kodemonki)Scope your variables here:
<cfif gridsortcolumn neq "" or gridsortdirection neq "">
ORDER BY #gridsortcolumn# #gridsortdirection#
Also, what do you think will happen if one of those variables is an empty string and the other is not? -
2. Re: cfgridsortcolumn
kodemonki Jul 31, 2008 12:54 PM (in response to kodemonki)http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/UDF s4.htm#1163335
But I scoped them anyway and turned that line to
<cfif arguments.gridsortcolumn neq "">
ORDER BY #gridsortcolumn# <cfif arguments.gridsortdirection neq "">#gridsortdirection#</cfif>
Same problem. No improvement. -
3. Re: cfgridsortcolumn
Dan Bracuk Jul 31, 2008 4:08 PM (in response to kodemonki)quote:
Originally posted by: kodemonki
http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/UDF s4.htm#1163335
But I scoped them anyway and turned that line to
<cfif arguments.gridsortcolumn neq "">
ORDER BY #gridsortcolumn# <cfif arguments.gridsortdirection neq "">#gridsortdirection#</cfif>
Same problem. No improvement.
Ask yourself what will happen if gridsorcolumn is an empty string. -
4. Re: cfgridsortcolumn
Daverms Jul 31, 2008 9:46 PM (in response to kodemonki)Hi,
Do you have the Coldfusion 8's Ajax debugger window on?.. If so what error message it shows?...


