Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Disabling header context menu in grid

  1. #11
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996

    Default

    If the column is hidden and you don't want the user to be able to unhide / hide it then simply do not include that column in the column model at all.

  2. #12
    Sencha User
    Join Date
    Feb 2009
    Location
    Ahmedabad
    Posts
    17

    Default

    Thank for you replay

    but m using this hidden column value in other place but any way i got solution:
    insted of hidden:true in column model need to write hideable:false and my column is not display in column menu.

  3. #13
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996

    Default

    You only include it in the column model if you want it shown. If you never want it shown visually do not include it. The data will still be available as you will still include it in your store configuration.

  4. #14

  5. #15

    Default disable column from the context menu

    I'm using Grid<ModelData> to create a grid. I need to disable column from the context menu, but i do not have enableColumnHide:false option.

    How to remove column from the context menu?

    Thx

  6. #16
    Ext JS Premium Member
    Join Date
    Feb 2008
    Posts
    17

    Default

    Quote Originally Posted by t_andrey View Post
    Using menuDisabled:true i remove all the menus...
    I just wanna remove the columns option (shown in the attachment)

    What should I do?

    Thks
    Perhaps you added the option to the grid instead of the column?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Grid context menu
    By mdelanno in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 5 Mar 2007, 9:39 AM
  2. YUI-Ext grid context menu example
    By raphinou in forum Community Discussion
    Replies: 1
    Last Post: 26 Feb 2007, 12:19 PM
  3. Problem on Grid header context menu.
    By Animal in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 22 Feb 2007, 2:41 AM
  4. Grid with context menu
    By wolverine4277 in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 12 Jan 2007, 6:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •