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
Ha, you're welcome :)
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
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?
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 ??? :( :(
Like this:
http://livedocs.adobe.com/flex/3/langref/mx/collections/ListCollectionView.html#addAllAt()
?
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 ??? :( :(
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
{
there is my code modified :
// fill the Grid Data
private function fillDataGridData2(figure : GraphicalFigure ):void
{
var handData : ListCollectionView = new ListCollectionView();
var collection :
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
var dp: ListCollectionView = dg.dataProvider as ListCollectionView;
if (dp) dp.addAllAt(figure.getListDataAtt(), dp.length - 1);
else dg.dataProvider = figure.getListDataAtt();
* sorry, typo
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
12 matches
Mail list logo