Hello,

I am trying the below code with no luck:

var dataArray:Array = new Array();
for (t=0; t<=(n-1); t++) {
dataArray[t] = {BROKER_NAME:_parent.get_information["broker_name"+t], ADDRESS:_parent.get_information["address1"+t], LIC: _parent.get_information["license"+t], STATUS:_parent.get_information["cur_status"+t], broker_id:_parent.get_information["broker_id"+t]};

this.grd_broker_display.dataProvider = dataArray;
this.grd_broker_display.sortItemsBy("BROKER_NAME")
this.grd_broker_display.getColumnAt(0).headerText = "BROKER NAME";

'-----------------

The problem lies with the sort code! I need to sort the datagrid by BROKER_NAME..... Please help...

Thanks,

Aaron