lundi 13 avril 2015

Ext5.1 NavigationModel in locked tree

In Ext.grid.locking.View you`re choosing the wrong `NavigationModel` for custom Tree`s with it's own xtype.




Code:



// A single NavigationModel is configured into both views.

me.navigationModel = config.locked.xtype === 'treepanel' ? new Ext.tree.NavigationModel(me) : new Ext.grid.NavigationModel(me);








Ext5.1 NavigationModel in locked tree

Aucun commentaire:

Enregistrer un commentaire