[flexcoders] Re: dataGrid dataProvider with blank rows?

2005-03-22 Thread bhaq1972
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

Re: [flexcoders] Re: dataGrid dataProvider with blank rows?

2005-03-22 Thread [EMAIL PROTECTED]
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

[flexcoders] Re: dataGrid dataProvider with blank rows?

2005-03-22 Thread bhaq1972
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]>

Re: [flexcoders] Re: dataGrid dataProvider with blank rows?

2005-03-22 Thread [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

[flexcoders] Re: dataGrid dataProvider with blank rows?

2005-03-22 Thread bhaq1972
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