Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    975
    Vote Rating
    110
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      0  

    Default [4.1.3] Ext.grid.header.Container enableColumnHide false doesn't work

    [4.1.3] Ext.grid.header.Container enableColumnHide false doesn't work


    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>
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  2. #2
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    975
    Vote Rating
    110
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      0  

    Default


    I hurried. It is a grid's option.

    Please ignore this thread. Apologize.
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    43
    Vote Rating
    0
    jose_carlos is on a distinguished road

      0  

    Default


    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?

  4. #4
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    975
    Vote Rating
    110
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      0  

    Default


    Please start a new forum thread.
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  5. #5
    Sencha User
    Join Date
    Apr 2013
    Posts
    43
    Vote Rating
    0
    jose_carlos is on a distinguished road

      0  

    Default


    Why? This is not the correct place for this my doubt?

  6. #6
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    975
    Vote Rating
    110
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      0  

    Default


    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.
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

Thread Participants: 1