Results 1 to 5 of 5

Thread: context menu in extjs

  1. #1
    Ext User
    Join Date
    Aug 2009
    Posts
    3
    Vote Rating
    1
      1  

    Default context menu in extjs

    Hi,

    I am totally new in Ext Js , I am using Ext JS 3.0 version .

    I am not able to find out how i can use context menu of EXT JS in my exsisting JSP.

    Can anybody help with one or more examples.

    Thanks in advance.

  2. #2
    Ext User
    Join Date
    Mar 2008
    Posts
    125
    Vote Rating
    0
      0  

    Default

    Where do you want to add Context Menu??? is it in the Grid Row???

  3. #3
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    87
      0  

    Default

    How about reading the API or the EXAMPLES?

  4. #4
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    87
      0  

    Default

    Code:
    var menu  = new Ext.Menu({
          items : [
              {
                      text : 'Click me',
                      handler : function() {
                            Ext.MessageBox.alert('bing', 'You clicked me?');
                      }
    
               }
          ] 
    
    });
    menu.showAt([100, 100]);

  5. #5
    Ext User
    Join Date
    Aug 2009
    Posts
    3
    Vote Rating
    1
      0  

    Default context menu in extjs

    Hi ,


    Actually i have one jsp in this i want to add context 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
  •