• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFGrid Woes

New Here ,
Mar 31, 2009 Mar 31, 2009

Copy link to clipboard

Copied

I am having issues with CFGrid update onChange()

Here is the dynamic form I am using to populate the Grid (this works and is here just for code completeness) and the update file as well .... I am binding in the url vs a cfc at the moment. What occurs is when I edit the grid I recieve an undefined error in IE and _251 is undefined in Firefox line 418 cfajax.js I do not think I am reaching the point where the data is updated.

Is this something stupid I am doing? or if not ...

Does anyone have a fix for this? or is this a known issue when using the html format version of cfgrid? if so is there any expectation of a fix for this issue?

Regards,
-Dave

TOPICS
Advanced techniques

Views

992

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 14, 2009 Jul 14, 2009

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation