[flexcoders] DataGrid changing dataField property at runtime and updating datagrid

2007-11-06 Thread dave_defusion
I've got a custom item renderer on a DataGrid which implements the IDropInListItemRenderer interface. It uses this to figure out the dataField the column is set to and then renders the item as appropriate. That all works OK, but then I want a ComboBox to change the dataField on the DataGridColumn

RE: [flexcoders] DataGrid changing dataField property at runtime and updating datagrid

2007-11-06 Thread Alex Harui
I would try: Var cols:Array = dg.columns; dg.columns = cols; From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave_defusion Sent: Tuesday, November 06, 2007 4:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid

Re: [flexcoders] datagrid and dataField

2006-10-27 Thread Luis Eduardo
i could solve part of my problem with a workaround, but not all is working ok. (i could display the data but the sorting capability is gone). someone have an ideia of how to make this on the rigth path? i am using the labelFunction property of the datagrid like this: ?xml version=1.0?

[flexcoders] datagrid and dataField

2006-10-26 Thread Luis Eduardo
hi, i dont know why but my datagrid cant bind well when the format of one XML have childrens. i borrow the example on the documentation and make a test to you guys see what i am talking about. to see the issue, just select one row and watch the Labels get the gender property on the