Hi,

I have a DataGrid control and use addItem and removeItemAt method to
add and remove items.  This works properly.  At the same time, I need
to dynamically calculate the sum for certain field in the DataGrid and
bind the result to a text field.

I add a listener for modelChanged event of dataProvider and add a sum
function there.  But the sum function never gets triggered at all even
after an item is added, deleted or all items are removed.

The array that binds to the dataProvider will create after a remote
service call.  The listener is created at the initialize function of
the appliation.  Could this be a problem?

Thanks,
J




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to