Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all articles
Browse latest Browse all 6243

cfrgrid will not edit

$
0
0

When I attempt to edit my grid the following error is returned. error invoking CFC /design /Regstration.cfc : The PAGE argument passed to the getData function is not of type numeric.

 

My getData function: code:

 

<!--- Get data --->

 

    <cffunction name="getData" access="remote" returntype="struct">

        <cfargument name="page" type="numeric" required="yes">

        <cfargument name="pageSize" type="numeric" required="yes">

        <cfargument name="gridsortcolumn" type="string" required="yes">

        <cfargument name="gridsortdirection" type="string" required="yes">

      

<cfquery name="rdc14" datasource="cfrdc">

  select * FROM rdc2014

   <cfif ARGUMENTS.gridsortcolumn NEQ "" and ARGUMENTS.gridsortdirection NEQ "">

            ORDER BY #gridsortcolumn# #gridsortdirection#

        </cfif>

 

        </cfquery>

        <cfreturn queryConvertForGrid(rdc14,ARGUMENTS.page,ARGUMENTS.pageSize)/>

    </cffunction>


Viewing all articles
Browse latest Browse all 6243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>