WTreeView/WTableView event handling improvements