PDA

View Full Version : [CLOSED] [4.1.3] Ext.grid.header.Container sortable doesn't work



Daniil
14 Nov 2012, 5:39 AM
REQUIRED INFORMATION

Ext version tested:

Ext 4.1.3

Browser versions tested against:

IE9
Chrome

DOCTYPE tested against:

<!DOCTYPE html>

Description:

The Ext.grid.header.Container sortable config option doesn't work

Steps to reproduce the problem:

Open a menu of any column

The result that was expected:

Sort items are disabled due to the "sortable: false" option

The result that occurs instead:

Sort items are enabled

Test Case:


<!DOCTYPE html>
<html>
<head>
<title>HeaderContainer sortable</title>

<link type="text/css" rel="stylesheet" href="../resources/css/ext-all.css" />

<script type="text/javascript" src="../ext-all-debug.js"></script>

<script type="text/javascript">
Ext.onReady(function () {
Ext.create("Ext.grid.Panel", {
renderTo: Ext.getBody(),
store: {
fields: [{
name: "test1"
}, {
name: "test2"
}, {
name: "test3"
}]
},
columns: {
sortable: false,
items: [{
dataIndex: "test1",
text: "Test1"
}, {
dataIndex: "test2",
text: "Test2"
}, {
dataIndex: "test3",
text: "Test3"
}],
}
});
});
</script>
</head>
<body>

</body>
</html>

mitchellsimoens
14 Nov 2012, 6:35 AM
Thanks for the report! I have opened a bug in our bug tracker.

Daniil
15 Nov 2012, 9:32 AM
Thank you, Michell.

Apologize that I am asking you here.

I sent several times (about 4-5) to admins via the Contact Us form. But did not receive any answer.

Could you clarify does this form work?

Baidaly
7 Aug 2013, 4:29 PM
Hello!

Any news about this bug?