PDA

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



Daniil
16 Nov 2012, 4:33 AM
REQUIRED INFORMATION

Ext version tested:

Ext 4.1.3

Browser versions tested against:

Chrome
IE9

DOCTYPE tested against:

<!DOCTYPE html>

Description:

Ext.grid.header.Container enableColumnHide false doesn't work.

Steps to reproduce the problem:

Open a header menu

The result that was expected:

No "Columns" option

The result that occurs instead:

There is still "Columns" option

Test Case:


<!DOCTYPE html>
<html>
<head>
<title>Grid header container enableColumnHide</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"
}],
autoLoad: true,
proxy: {
type: "memory",
reader: {
type: "array"
},
data: [
["test1", "test2", "test3"],
["test4", "test5", "test6"],
["test7", "test8", "test9"]
]
}
},
columns: {
enableColumnHide: false,
items: [{
dataIndex: "test1",
text: "Test1"
}, {
dataIndex: "test2",
text: "Test2"
}, {
dataIndex: "test3",
text: "Test3"
}]
}
});
});
</script>
</head>
<body>

</body>
</html>

Daniil
16 Nov 2012, 4:45 AM
I hurried. It is a grid's option.

Please ignore this thread. Apologize.

jose_carlos
17 May 2013, 11:24 AM
I'm trying to enable the combo of the column headers of the grid to allow people to organize alphabetically and hide columns. Know how to do?

Daniil
19 May 2013, 8:17 PM
Please start a new forum thread.

jose_carlos
20 May 2013, 3:40 AM
Why? This is not the correct place for this my doubt?

Daniil
20 May 2013, 4:20 AM
Yes, I think it is not a correct place. It was an invalid bug report and marked as closed. Also I think the "how to?" question looks not appropriate for the Bugs forums.