PDA

View Full Version : Header for grid columns makes columns not sortable



iplanit
3 Oct 2012, 6:16 AM
Architect Build tested:

Build: 640 (SA 2.1.0)

Project Type:

ExtJS 4.1

Description:

Columns in grouped headers are not sortable even with the "sortable: true" checkbox selected.
When you check the box for a sortable column in the property window, it removes the "sortable: true" in the code. The description says that sortable is true by default, but the column becomes not sortable. If you add the sortable: true in the generated code it makes the column sortable.
If you move the column outside the grouped header (a column inside another column) it works as you may expect if sortable is true.

Steps to reproduce the problem:

Create a new ExtJS 4.1 project
Add a grid
Use autocolumn for the grid and the store
Group headers (create a column a put another column inside this one using drag and drop)

The result that was expected:

All sortable columns should be sortable

The result that occurs instead:

Columns are not sortable if grouped in another column.

HELPFUL INFORMATION


Screenshot, Project, or Video:

The following screenshots show how it is not possible to put sortable: true, and how sortable columns are not sortable.


39109

VIDEO of the bug in ogv format (use firefox or any modern media player)https://docs.google.com/open?id=0B0ClmYxwWvBdWENoLWthY214UkE

Possible fix:

Add sortable: true to all columns (instead of omitting it)

Operating System:

Linux 2.6.32 (debian 64)