I have a problem I'm trying hard to solve here. I have a CFform (flash) containing a CFgrid (also flash). I'm simply trying bind the total of a column to another form field, and I want to put that code into the onChange value for the grid. So, when the grid gets updated, you simply get a running total for a numerical column. Sounds very easy. But the problem is, I don't know how to loop through a column in a CFgrid. Here is all that I think I can do to a cfgrid column:

GridData.insertRow(FormName); FormName.dataProvider.editField(FormName.selectedIndex, 'ColumnName', 'SomeValue');
GridData.deleteRow(FormName);


Shouldn't there be a way to read out data? I see the editField property, the insertRow, and the deleteRow. What about just reading a row?? And BTW, I don't want the selected row, I want to specify a row index number to do this. Does anyone have a clue how to go about doing this, or could point at a doc describing something similar? I've started a thread about Macromedia, but no responses so far:

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=22&threadid=1003238&enterthread=y
--

                                -Mike Staver
                                 [EMAIL PROTECTED]
                                 [EMAIL PROTECTED]

---
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/

Reply via email to