Results 1 to 2 of 2

Thread: How to add new menu Item to Grid Column Header

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    India
    Posts
    180
    Answers
    1
    Vote Rating
    -7
      0  

    Default How to add new menu Item to Grid Column Header

    Hi All,
    I have a Grid with few columns. I want to create / customize the Grid column [header] menu.
    As show in the image I want to add new button to the Column Header menu.

    I have tried following code , But it didn't work for me

    Code:
    grid.on('headerclick', function(ct,column,e,t,options) {
       alert('I am here')
    });
    Column_Header.jpg


    Please suggest me how can do this?

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,791
    Answers
    585
    Vote Rating
    394
      0  

    Default

    Take a look at the source of the Grouping feature, it modifies that menu.

Posting Permissions

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