Hi All,
Can we use the iconField with DataGrid in same way with List component?
I’m using the following code: (having DataGrid component in the stage named “dg” and MovieClips with linkage identifiers ,Alloc,NotAlloc and RelBtn.
_level0.dg.addItem({label:“1”,data:“flash”,icon:“Alloc”});
_level0.dg.addItem({label:“2”,data:“flash”,icon:“NotAlloc”});
_level0.dg.addItem({label:“3”,data:“flash”,icon:“RelBtn”});
_level0.dg.iconField = “icon”;
But the output is like this:
label data icon
1 flash Alloc
2 flash NotAlloc
3 flash RelBtn
What I need is to display the real MovieClips instead of the texts.
Anyone please help me in this issue.
Regards,
Porkodi.N.