Hi Carsten, I just sent you a snippet that will allow you to edit cells on dbl-click.
However, if you want have behaviour such that when a cell gains focus you want it to be selected and editable - ready to write then you will have to write a an extension like in: http://lists.canoo.com/mailman/private/ulc-developer/2005/002052.html First of all this extension is meant for ULC 6.0.x so you will have to port it to ULC 6.1, though it will work with deprecated methods. Second, replace ULC/UITable with ULC/UITableTree Third to make it work with ULCTableTree, on the client side in UIDirectEditUtilities, you will have to set the focus listener on the JTable underlying the TableTree: public static class UIDirectEditUtilities extends UIProxy { public void handleRequest(String request, Anything args) { if (request.equals("enableDirectEdit")) { UITableTree tableTree = (UITable)getSession().getManaged(UITableTree.class, args); table.getBasicTableTree().getBasicTable().addFocusListener( new DirectEditHandler()); } else { super.handleRequest(request, args); } } } I hope this helps. Thanks and regards, Janak -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Keuch, Carsten Sent: Wednesday, September 06, 2006 11:01 PM To: Ulc-Developer (E-Mail) Subject: [ULC-developer] How to make a cell editable in TableTree Hi, how can i make a cell of a column editable. I must use a TableTree 'cause of that hierarchy thing... Found the topic http://lists.canoo.com/mailman/private/ulc-developer/2005/002052.html on mailing list, but it seems not to be applicable for ULCTableTree. I create the classes ULCDirectEditUtilities and UIDirectEditUtilities (plus helpers) and put the ULC... class in a jar and move onto the server. I know it's not on same development level as ULC6.1 but... Getting a NoClassDefFoundException for UIProxy although the jar is on server. Also tried the option with CellEditor (ULCTextField) and CellRenderer ()ULCLabel) but this doesn't work aswell... How must i proceed to make it work? Need help... thanks and regards, Carsten _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
