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:

Code:
<!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>