8/4/2010 7:29:29 AM
Title:
need DataGrid ItemRenderer as3 code
Hi,
I want to create a flex DataGrid by using as3.
in one of the column i need to add a button by using ItemRenderer .
I need pure as3 code..
Can anyone send me?
Thanks in advance.....
8/4/2010 9:45:42 PM
Hi Kumar,
Try this code may your problem solved
var columnsArr:Array = dataGrid.columns;
var index:int = 4; // column index
( columnsArr[index] as DataGridColumn ).itemRenderer = new ClassFactory(ItemRender Class); // new ClassFactory(Custom Button Class);
for more details...
http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_4.html
may help you.
Regards,
Virat Patel
8/4/2010 11:31:17 PM
Cheak this link
You can find cool datagrid.
If you click demo you can see the showcase with code.
Try this out!
http://actsone-ria.blogspot.com/p/gridone.html
8/4/2010 11:42:11 PM
Thanks Michelle,
But GridOne is not free as well as opensource...
so no use... :)