Thats great to know about Fabians work.
By the way you told, that pressing enter closes the editor, but i my tab le it
doesnt. It jumps a row down and is still in edit-mode. That is normaly not a
problem, but in case of my tree wich editables a column, i am sending an rpc
request to my server at any change, on pressing enter it jumps to the next row,
the only way to close the editmode is to press escape, but this stops my rpc
action also.
regards Sak
----- Original Message -----
From: Derrell Lipman
To: qooxdoo Development
Sent: Tuesday, January 26, 2010 4:07 PM
Subject: Re: [qooxdoo-devel] Irretating behavior of selectboxes
andeditablecells of trees
On Tue, Jan 26, 2010 at 10:02, Mustafa Sak <i...@saksys.de> wrote:
nice, thank you. But why is this acting like this?
It's historical. You're using functionality that was not part of the original
design of Table, and doesn't really fit too well. The original, and only type
of editor, was a simple text editor. When you press Enter after editing text in
the cell, or you click on a different cell, the editing is closed
automatically. When you use an editor other than the initially-supported text
editor, you have to make it look like what was there originally.
When the new Table implementation based on Fabian's Virtual framework is
finally completed, I expect you'll have no such issues since it's designed with
20/20 hindsight of the issues encountered with the early Table implementation.
Cheers,
Derrell
----- 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
------------------------------------------------------------------------------
------------------------------------------------------------------------------
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