[flexcoders] datagrid column sorting

2010-07-01 Thread Scott
Take this scenario: . [Bindable] public var acAppts:ArrayCollection = new ArrayCollection(); private function sortDate(itemA:Object, itemB:Object):int { return ObjectUtil.dateCompare( itemA.dtCreated,itemB.dtCreated); } ... mx:DataGrid x=0 y=20 width={CELLWIDTH}

[flexcoders] datagrid column sorting

2005-11-30 Thread george_lui
Hi, When you sort columns in a datagrid, I assume that data in a column is sorted according to its natural sorting order (whatever that may be). In my case it's a string. For some reason, the sorting on this column behaves differently. I have data that begins with uppercase and lowercase

RE: [flexcoders] datagrid column sorting

2005-11-30 Thread Jason Weiss
@yahoogroups.com Subject: [flexcoders] datagrid column sorting Hi, When you sort columns in a datagrid, I assume that data in a column is sorted according to its natural sorting order (whatever that may be). In my case it's a string. For some reason, the sorting on this column behaves differently