View Full Version : Handle TreePanel's element DoubleClick Event
4shael
15 Jul 2009, 5:08 AM
This question have already being asked here, but there no answer. So how can i handle this event?
You need to sink the doubleclick browser element on the treepanel and than you can just listen to it.
4shael
15 Jul 2009, 5:54 AM
Can you write the example, please? Just a line where i must sink an event.
tree.sinkEvents(Event.ONDBLCLICK);
tree.addListener(Events.OnDoubleClick, new Listener<TreePanelEvent<ModelData>>() {
public void handleEvent(TreePanelEvent<ModelData> be) {
}
});
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.