Hi,

I have an ArrayCollection with various columns. I need to populate 
different combos using this array collection columns.

I have a method where I am passing only column name as a parameter 
like:

public function initArra(curColName:String):void{

var totalLen:int = tempArrCol.length;
Alert.show(tempArrCol.toString())
for(var i:int =0; i<totalLen; i++){
  var t:String = this["tempArrCol["+i+"].Gold"]//+this[curColName]
  listArray.push(t);
  //t = tempArrCol[i].curColName;
 comboBoxes_curColName.dataProvider = listArray;
  Alert.show(t)
}

}

But here I am not able to get the list of ArrayCollection using this
[].

How can I get the list of the respected columns?

Pls suggest.
Thanks in advance..
Sanjay sharma

Reply via email to