hi
i have one datagrid and when i call this itemrenderer when i run it is not
displaying anything
one thing is that when i use
super.data = value;
all datas will be displayed with out any separation of comma
but i need data to be separated by comma and display all data
public class DropTargetRenderer extends Text
{
override public function set data(value:Object):void
{
var localStr:String="";
if(value != null)
{
var
searchData:String=value[DataGridListData(listData).dataField];
var strArray:Array=searchData.split(",");
for(var i:int;i<strArray.length;i++)
{
var testData:Text=new Text();
testData.text=strArray[i].toString();
trace("testData.text",testData.text);
this.addChild(testData);
}
}
}
}
any idea
--
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
-~----------~----~----~----~------~----~------~--~---