public void onColumnClick(TableColumnUI columnUI, ComponentEvent e) {
BaseEvent be = null;
if (table instanceof TreeTable) {
TreeTableEvent tte = new TreeTableEvent((TreeTable) table);
tte.setColumnIndex(columnUI.index);
tte.setEvent(e.getEvent());
be = tte;
} else {
TableEvent ce = new TableEvent((Table) table);
ce.setColumnIndex(columnUI.index);
ce.setEvent(e.getEvent());