[flexcoders] Re: Sort Column in a dynamically generated DataGrid using a Nested property

2008-04-29 Thread ben.clinkinbeard
You need to specify a custom sortCompareFunction for your DataGridColumns that don't map directly to a property in your VO. HTH, Ben --- In flexcoders@yahoogroups.com, sk_acura [EMAIL PROTECTED] wrote: Hi All, I have a DataGrid whose columns are generated at run time. In my MXML

[flexcoders] Re: Sort Column in a dynamically generated DataGrid using a Nested property

2008-04-29 Thread sk_acura
Hi Ben, Thanks for your reply.. I added a custom sortable function and it looks like it fails when it finds any null values !! The function i wrote is: [CODE] private function comparGridItem(itema:Node,itemb:Node):int{ var filteredField:String = selectedColumn;