0
votes

Here is the example: http://examples.sencha.com/extjs/6.2.0/examples/kitchensink/#tree-list

Currently it show the List in Micro mode on Hover and nested list on click event. How can i open the nested menu on mouseover events.

1
What Extjs version you are working with? - Fabio Barros
ExtJs 6.2 @FabioBarros - Waqar Haider

1 Answers

1
votes

Try to use this overrride:

    Ext.define('Ext.list.Tree',{
        override:'Ext.list.Tree',
        privates:{
            onMouseOver: function (e) {
                var comp = Ext.Component.fromElement(e.getTarget());

                if (comp.isTreeListItem){ comp.expand()}

                this.setOverItem(comp && comp.isTreeListItem && comp);
            }
        }
    });