21 Jul 2009 7:40 AM #1
[TENT][3.0.0] column model defaultSortable changed (no longer writable)
Ext version tested:
- Ext 3.0.0
- only default ext-all.css
Browser versions tested against:
- FF3 (firebug 220.127.116.11 installed)
- WinXP Pro
- In this example clicking the header row doesn't sort.
// by default columns are sortable cm.defaultSortable = true;
Steps to reproduce the problem:
- click the header
The result that was expected:
- columns should sort
The result that occurs instead:
- columns do not sort
Screenshot or Video:
Debugging already done:
- implementation of defaults changed slightly from 2.x to 3.x
- you can no longer specify defaultSortable property after column model is created, it can only be applied at construction time.
- not provided
21 Jul 2009 7:44 AM #2
21 Jul 2009 8:05 AM #3
This can be listed as a breaking change in the Ext 3.0 Upgrade Guide.
21 Jul 2009 8:32 AM #4
Yes, you all are correct, thank you. The demo example was not updated however, so this bug report will be used to fix the example cited in the first post.
21 Jul 2009 8:39 AM #5
A tentative fix for the cited example has been applied to the svn/trunk branch (rev 4880).