nice, thank you. But why is this acting like this?
----- Original Message -----
From: Derrell Lipman
To: qooxdoo Development
Sent: Tuesday, January 26, 2010 3:42 PM
Subject: Re: [qooxdoo-devel] Irretating behavior of selectboxes and
editablecells of trees
On Tue, Jan 26, 2010 at 09:34, Mustafa Sak <i...@saksys.de> wrote:
Hi devs,
i am using editable cells in tables and trees. In my case i am using
selectboxes to edit my cells. I try to explain
in my opinion this strange behavior:
- If i doble click to a cel a selectbox is rendered and my items are showen;
- now i am selecting one off them, the cell looks now like a bubblegum and
shows me the selected label;
- now i am clicking at any button an my form and the cell still looks like
a bulbblegum.
- But my formbutton executes a function to getRowData of that table, but
the selected value is not recognized by getRowData;
- I have to click anywhere on the table to realy set the value.
I guess this is not user frindly and not the expected behavior for
selectboxes any way.
Is there a trick to set the value imidiatly?
Try listening for the selection event in your selectbox, and in that event
handler, call table.stopEditing(). If I understand what you're looking for,
that should do the trick. table.stopEditing() is what gets called when you
click on a different cell and it had been in editing mode.
Derrell
------------------------------------------------------------------------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel