RE: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-26 Thread Nini7016 Nini7016
Hello I tried your solution and it works very well :) :) :) Thank yo very much :) :) :) _ Hotmail et MSN dans la poche? HOTMAIL et MSN sont dispo gratuitement sur votre

Re: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-26 Thread Oleg Sivokon
Ha, you're welcome :)

[flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-23 Thread Nini7016 Nini7016
Hello I create a DataGrid like this : mx:Panel title= Handing Data height=100% width=100% paddingTop=10 paddingLeft=10 paddingRight=10 !--mx:Label width=100% color=blue text=Select a row in the DataGrid control./-- mx:DataGrid id=dg

Re: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-23 Thread Oleg Sivokon
dg.dataProvider will be some kind of a collection already, why won't you concatenate to it and if it is a collection view, call refresh() on it for example?

RE: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-23 Thread Nini7016 Nini7016
But how can i cancat it ?? To: flexcoders@yahoogroups.com From: olegsivo...@gmail.com Date: Fri, 23 Apr 2010 18:06:40 +0200 Subject: Re: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

Re: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-23 Thread Oleg Sivokon
Like this: http://livedocs.adobe.com/flex/3/langref/mx/collections/ListCollectionView.html#addAllAt() ?

RE: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-23 Thread Nini7016 Nini7016
which method i use to cancat it PLEASE ?? To: flexcoders@yahoogroups.com From: nahloulaha...@hotmail.com Date: Fri, 23 Apr 2010 18:17:05 +0200 Subject: RE: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

RE: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-23 Thread Nini7016 Nini7016
I created a liste : var handData : IList = new ListCollectionView(); but when i do handData.addAll ??? it didn't find this methode there my new code : // fill the Grid Data private function fillDataGridData2(figure : GraphicalFigure ):void {

RE: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(--my code modified :(

2010-04-23 Thread Nini7016 Nini7016
there is my code modified : // fill the Grid Data private function fillDataGridData2(figure : GraphicalFigure ):void { var handData : ListCollectionView = new ListCollectionView(); var collection :

Re: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-23 Thread Oleg Sivokon
Your data provider will be some sort of collection view, but I don't know what kind of collection view you are using. What you want to do is to add items to the data provider... Your code above should give you an error, I believe, because addAllAt() returns void (that is undefined / nothing), it

Re: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-23 Thread Oleg Sivokon
var dp: ListCollectionView = dg.dataProvider as ListCollectionView; if (dp) dp.addAllAt(figure.getListDataAtt(), dp.length - 1); else dg.dataProvider = figure.getListDataAtt(); * sorry, typo

RE: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of DataProvider with an other one ??? :( :(

2010-04-23 Thread Nini7016 Nini7016
Thank youuu very much :):):):):):):):):):)):):) To: flexcoders@yahoogroups.com From: olegsivo...@gmail.com Date: Fri, 23 Apr 2010 20:21:22 +0200 Subject: Re: [flexcoders] DataGrid---crushing of DataProvider--how to cancat the last contain of