Question
CFGRID, please help
I tried to use cfgrip to show the records but I got an error
saying Cf can't find the function within my component
I have my component inside a folder called cfcomps, here is the dir structure:
folder www
folder sct
folder cfcomps
What have I done wrong?
Here is my codes and on the most bottom is the error I got:
CODE:
<cfform>
<cfgrid name="ads" format="html" bind="cfc:cfcomps.gcheck.getrecords({cfgridpage}, {cfgridpagesize}, {cfgridsortcolumn}, {cfgridsortdirection})">
<cfgridcolumn name="cp" header="CPrefix" width="100"/>
<cfgridcolumn name="afix" header="APrefix" width="100"/>
<cfgridcolumn name="pid" header="PrefixID" width="300"/>
</cfgrid>
</cfform>
ERROR:
The specified remote function getrecords was not found on the CFC cfcomps.gcheck.
The error occurred in /sp/ourusers/dt/G/checkDt2.cfm: line 58
56 : <cfgridcolumn name="cp" header="CPrefix" width="100"/>
57 : <cfgridcolumn name="afix" header="APrefix" width="100"/>
58 : <cfgridcolumn name="pid" header="PrefixID" width="300"/>
59 : </cfgrid>
60 : </cfform>
I have my component inside a folder called cfcomps, here is the dir structure:
folder www
folder sct
folder cfcomps
What have I done wrong?
Here is my codes and on the most bottom is the error I got:
CODE:
<cfform>
<cfgrid name="ads" format="html" bind="cfc:cfcomps.gcheck.getrecords({cfgridpage}, {cfgridpagesize}, {cfgridsortcolumn}, {cfgridsortdirection})">
<cfgridcolumn name="cp" header="CPrefix" width="100"/>
<cfgridcolumn name="afix" header="APrefix" width="100"/>
<cfgridcolumn name="pid" header="PrefixID" width="300"/>
</cfgrid>
</cfform>
ERROR:
The specified remote function getrecords was not found on the CFC cfcomps.gcheck.
The error occurred in /sp/ourusers/dt/G/checkDt2.cfm: line 58
56 : <cfgridcolumn name="cp" header="CPrefix" width="100"/>
57 : <cfgridcolumn name="afix" header="APrefix" width="100"/>
58 : <cfgridcolumn name="pid" header="PrefixID" width="300"/>
59 : </cfgrid>
60 : </cfform>
