First of all, I assume you are speaking of a flash cfgrid.  (As opposed
to the older applet flavor)

A flash cfgrid is nothing more than a datagrid object in a flash
animation.  There are a number of events that are fired by the grid
object like when someone clicks, scrolls, or edits.  If you choose, you
can attach a listener to the object when waits and when the event it is
listening to fires, it is passed an event object which tells it what
happened and where and you can then execute whatever arbitrary code you
wish to handle that event.

I'm not sure if this is what you are talking about, but I hope it helps.

www.asfusion.com has a plethora of coding examples for flash cfgrids
including attaching your own event listeners to the grid objects.  

<cfform onload="onFormLoad();" format="Flash">

function onFormLoad()
        {
                var listener:Object = {};
                
                //put the controls in scope to avoid calling _root 
                var my_grid:mx.controls.DataGrid = my_grid;
                
                listener.change = function(evt):Void 
                        {
                                Alert("A cell has been changed.  The evt
object contains the details.");
                        }
                
                my_grid.addEventListener('change',listener); 

}
                        


~Brad

-----Original Message-----
From: David Elliott [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 10:14 AM
To: CF-Talk
Subject: Re: cfgridupdate

With all this expertise out here, I cannot believe that no one has any
experience with cfgrids....:(

David Elliott <[EMAIL PROTECTED]> wrote: I am working with cfgrids
for the first time.

I have my grid working where I am learning and happy with it.

The subject tag of cfgridupdate I am a little confused on.  I have read
in books in the examples to help me understand it a little more..."when
a grid is tripped".  

Am I to assume that when something is changed on a grid, it is tripped?

If so, when does this code actually become active?  In other words, is
the whole grid process constantly being 'stroked' (for lack of a better
word) to constantly check for the grid being "tripped"?

Thanks,

Dave






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238627
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to