-
sort datagrid >> PLEASE HELP!!!!
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|