Hi:
I'm currently having problem using the TreeTable component from EchoPointNG package. When I add a ActionListener to the tree table, the tree will not expand/close when clicking on the +/- if the TreeTable in Firefox. Things are working fine in IE, this only happen in Firefox.
If I remove the ActionListener from the TreeTable, the tree would expand/close in Firefox but now I don't have a selection event triggered for selecting the row.
The following is what I've concluded:
TreeTable table = new TreeTable (model);
/*
* adding ActionListener to TreeTable will mask the tree component of TreeTable when triggering click events in Firefox.
*/
table.addActionListener (new ActionListener () {
public void actionPerformed (Actionevent event) {
System.out.println ("Do something!!");
}
});
/*
*adding TreeSelectionListener to TreeTable will NOT trigger an event callback when selecting a table cell. Only trigger event callback when clicking on +/- of the tree.
*/
table.addTreeSelectionListener (new TreeSelectionListener () {
public void valueChanged (TreeSelectionEvent e) {
System.out.println ("Do something else!!");
}
});
Does anyone have a workaround for this problem in Firefox.
Thanks,