Results 1 to 4 of 4

Thread: How To trigger mouseover event on a menu item

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default How To trigger mouseover event on a menu item

    My extjs menu is rendered in my browser. If I scroll over menu items, submenu items will appears. I'd like to create a javascript function that will trigger the same mouseover behaviour. When I trigger a mouseover event on the menuitemusing javascript , nothing happens. Is there a way to use a javascript function to trigger a mouseover event on a menu item in order to see the submenu?

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I don't see a mouseover event for menu items. Can you use the focus event?
    http://docs.sencha.com/extjs/4.2.6/#...em-event-focus

  3. #3

    Default

    Focus doesn't work.

    My ultimate goal is to show a submenu item of a given menuitem. This has to be done on the Javascript side as opposed to using Ext.js code. I am running into issues selecting the item in and expanding it to show the submenu.

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    It's hard for me to say without seeing code. Can you not use the menu config in a menu item to create a submenu?

Similar Threads

  1. Replies: 4
    Last Post: 2 Mar 2011, 9:55 PM
  2. ext menu on mouseover event
    By vijaypatil12 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 23 Nov 2010, 2:53 AM
  3. toolbar item trigger then grid event
    By ibmsoft in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 23 Jun 2008, 7:09 PM
  4. Odd Error on Trigger Mouseover
    By CutterBl in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 5 Mar 2008, 12:29 PM
  5. Tab item config mouseover/mouseout event listener.
    By sonalp in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Oct 2007, 11:21 PM

Tags for this Thread

Posting Permissions

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