I was looking at the help and dataProvider.addItem() method
dispatches a modelchanged event (so you dont have to).therefore
remove
mx.core.Application.application.dgcolore.dataProvider.dispatchEvent
({type:"modelChanged"});.
First, of all it should have worked (try out a simple example)
S
sorry but don't work only if i click into row of dataGrid display the
user change ?
Devis
bhaq1972 ha scritto:
>try firing a modelChanged event after your addItem eg
>mx.core.Application.application.dgcolore.dataProvider.addItem
>(vocolore);
>mx.core.Application.application.dgcolore.dataProvider
try firing a modelChanged event after your addItem eg
mx.core.Application.application.dgcolore.dataProvider.addItem
(vocolore);
mx.core.Application.application.dgcolore.dataProvider.dispatchEvent
({type:"modelChanged"});
--- In flexcoders@yahoogroups.com, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Thank's work fine,
but now my dataGrid not refresh the data into dataGrid in "realTime" ,
only if i click with mouse into a row dataGrid the data are refresh!
Bye
Devis
bhaq1972 ha scritto:
>try
>mx.core.Application.application.dgcolore.dataProvider.addItem
>(vocolore);
>
>
>
>--- In flexcoder
try
mx.core.Application.application.dgcolore.dataProvider.addItem
(vocolore);
--- In flexcoders@yahoogroups.com, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
> i have an dataGrid with an dataProvider of array of CColoriVO.
>
> from here work:
> cellPress="key=dg.selectedIndex">
> vo
5 matches
Mail list logo