Copy link to clipboard
Copied
Copy link to clipboard
Copied
Any answer to this problem? Adobe? Anybody? I'm having the same error and I've tried pretty much everything, including debugging the JS in cfgrid.js and cfajax.js. Here's the code I'm using:
<cfgrid name="mygrid" autowidth="true" selectmode="edit" format="html" onChange="url:../save.cfm?gridaction={cfgridaction}&gridrow={cfgridrow}&gridchanged={cfgridchanged}" bind="url:../bind.cfm?cfc=admin.departments&fn=getDepartmentsGrid&page={cfgridpage}&pagesize={cfgridpagesize}&sortCol={cfgridsortcolumn}&sortdir={cfgridsortdirection}">
<cfgridcolumn name="unit_id_alt" header="Code" >
<cfgridcolumn name="unit_number" header="Name" >
</cfgrid>
The bind works fine, but the onchange doesn't. The ajax request doesn't even fire, a javascript error occurs before. From the debugging I did, it seems related to a _cf_gridchangecallback function argument being undefined. Haven't been able to figure out why.