Re: AdvancedDatGrid sorting oddity

2013-09-22 Thread Justin Mclean
HI, > The first reference [1] never made much sense to me. Same here. Ignoring the first bit do you think that column.sortCompareFunction == null or column.sortCompareFunction != null? > The second reference [2] is correct. Well it might be correct but it never gets there, it returns at the ==

RE: AdvancedDatGrid sorting oddity

2013-09-20 Thread Kessler CTR Mark J
#x27;s going to pass it along to the sortfield when it's adding it (like the second reference is correct). -Mark -Original Message- From: Justin Mclean [mailto:jus...@classsoftware.com] Sent: Friday, September 20, 2013 12:17 AM To: dev@flex.apache.org Subject: AdvancedDat

AdvancedDatGrid sorting oddity

2013-09-19 Thread Justin Mclean
HI, Near the top of addSortField we have: if (headerInfo && headerInfo.internalLabelFunction != null && column.sortCompareFunction == null) return; Shouldn't that be column.sortCompareFunction != null? ie if you have a custom sort function don't bother adding a new oridinary sort field