; public var tobeCheckedCells:ArrayList; public var arrList:ArrayList; public var rowsHolder:ArrayList=new ArrayList(); public var indices:Vector.; public var xmlListColl:XMLListCollection; public var temp:String=""; public var vTemp:Vector.=Vector.([0,1,2]); public var vTemp2:Vector.; public var newItem:Object={index:101, firstName:"New Name",lastName:"Earl",food:"Almonds",drink:"DrinkD",imageURL:"../../../../../Assets/Images/smallbluerect.jpg", numberValue:3, birthDay:"2004/08/08" }; /** * this method is to set a editorClass on a dataGrid based on columnIndex */ public function setCellEditorOnColumn(dg:DataGrid, editorClass:Class, index:int):void { var gc:GridColumn=(GridColumn)(dg.columns.getItemAt(index)); gc.itemEditor=new ClassFactory(editorClass); gc.editable=true; } } ]]>