PDA

View Full Version : ColumnConfig .setComparator doesn't work



tomima
16 Jul 2014, 2:44 AM
Initial SourceStore sort by OID works fine, but when sorting by clicking column OID - .setComparator doesn't work as it sorts by default not by alphanumeric.

Attached demo code and screenshot showing invalid sort.

Using GXT 3.1.0 - GWT 2.6.1 - Maven 3.2.1 - Wildfly 8.0

Tested with Chrome 35.0.1916.153 and Firefox 30.0 on OS X

Colin Alworth
16 Jul 2014, 8:02 AM
Sorry for the confusion on this - I mistakenly told Daniel in sales (who then told you) that this should be working, because I was testing on 3.1.1 nightly builds, and 3.1.1 is yet to be released. Now that I am testing on 3.1.0, I clearly see the issue you are describing.

This bug was filed as part of http://www.sencha.com/forum/showthread.php?285771, and was fixed and merged just over a month ago. We're about to start validating and testing 3.1.1 for a release, and hope to have it out by late next week.