hi guys.
i need to know one thing
i have a datagrid and itemrenderer
inside that itemrenderer i have data separated with commas
it is getting displayed like paragraph
but i need to split with comma and display one by one
I did the same separated by comma and displayed one below the other
it is getting displayed correctly
but when i scroll up and down, datas getting shuffled first data in last row
when i scroll
below is the itemrenderer i are using
override public function set data(value:Object):void
{
super.data=value;
textData.text=String(data[_listData.dataField]);
textData.height=50;
textData.width=160
arr = textData.text.split(",");
var box:VBox=new VBox();
for(var i:int=0;i<arr.length;i++)
{
var text:Text = new Text();
text.text = arr[i].toString();
box.addChild(text);
this.addChild(box);
}
}
i am splitting data, adding to box, it is displaying correctly but when i do
scrolling some thing strange occurs like
data shuffling what is the problem
please help
--
Karthik.k
Mobile - +91-9894991640
http://kkarthikresume.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---