View Full Version : [FIXED][3.0.0] column model defaultSortable changed (no longer writable)

21 Jul 2009, 7:40 AM
Ext version tested:

Ext 3.0.0

Adapter used:


css used:

only default ext-all.css

Browser versions tested against:

FF3 (firebug installed)

Operating System:

WinXP Pro


In this example clicking the header row doesn't sort.

Test Case:

// by default columns are sortable
cm.defaultSortable = true;

See this URL : http://extjs.com/deploy/ext-3.0.0/examples/grid/edit-grid.html

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.

Possible fix:

not provided

21 Jul 2009, 7:44 AM
Already reported: http://extjs.com/forum/showthread.php?t=67857

21 Jul 2009, 8:05 AM
This can be listed as a breaking change in the Ext 3.0 Upgrade Guide.

21 Jul 2009, 8:32 AM
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
A tentative fix for the cited example has been applied to the svn/trunk branch (rev 4880).