0

I'm using Ext.list.Tree (xtype: 'treelist') component as a navigation tree for the app.

I am trying to catch when a user tries to select a different node and display a warning message before continuing. If a user chooses to stay on the page then I need to cancel the select event so the current tree node is still selected.

The problem is that this component doesn't seem to have beforeselect event or anything like that, similar to Ext.tree.View. Is there an easy way to manually add it without switching to tree view?

https://fiddle.sencha.com/#fiddle/134p

serg
  • 109,619
  • 77
  • 317
  • 330

0 Answers0