Kenwio
August 25th, 2008, 03:07 AM
I would like to add an eventlistener to var1 here directly, without having to create a new component/class..
var var1:ClassFactory = new ClassFactory( TextInput );
var1.properties = { width : 200, width : 300};
dataGridCol.itemRenderer = var1;Reason being that I would like the itemRenderer to be in the same file as the rest of the DataGrid..
Is this possible somehow??
var var1:ClassFactory = new ClassFactory( TextInput );
var1.properties = { width : 200, width : 300};
dataGridCol.itemRenderer = var1;Reason being that I would like the itemRenderer to be in the same file as the rest of the DataGrid..
Is this possible somehow??