Title: Cf7 - cfgrid issue.

Hi ,

        I have an issue with cfgrid that hopefully someone has come across before. Simplest way to describe the issue is to provide a demonstration.

        http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00001407.htm

        Please create a test cfm page with the sample code from the link provided, additionally replace the cfgrid line with this (just added the onChange event):

       
        <cfgrid name="mygrid" height="120" width="250" selectmode="edit" is the issue.');">

        Run the sample cfm page and add an new item to the grid(Insert a new row), then click another item in the grid(triggering the onChange) and submit, the page should return a series of arrays that describe what has changed in the cfgrid. However it does not!

        Now try removing the onChange event code(i.e. back to the original code provided in link) and run the sample page and follow the same process as above, This results in the form when submitted returning the correct arrays.

        It appears that when a cfgrid has a onChange event it implicitly adds this line of code when compiling the flex/flash page( found this out by decompiling the flash generated file):

                GridData.gridOnChange(this.CFForm_1, this.mygrid, "CFForm_1", "__CFGRID__CFForm_1__mygrid");

        There is no documentation on this method, however the implicit inclusion of this destroys the arrays.

        Hope someone can help!

Theo

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
______________________________________________________________________
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright. If you
have received this email in error, please advise the sender and delete
it. If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone. You must not copy or
communicate to others content that is confidential or subject to
copyright, unless you have the consent of the content owner.

Reply via email to