1 Reply Latest reply on Sep 19, 2014 2:02 AM by BKBK

    cfrgrid will not edit

    rockhiker Level 1

      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>