On Wed, May 7, 2008 at 7:39 PM, Bill Adams <[EMAIL PROTECTED]> wrote:

> This seems to fix the issue:
>
> var row = e.getRow();
> var col = e.getColumn();
> tree.startEditing();
> dataModel.setValue(col, row, '');
>
> Setting the model to '' gets rid of the shadow.  The previously existing
> value is still editable.  Let me know of any better techniques.


Editing places a text box (IIRC) over the cell being edited.  You're likely
the first person to try this with a treevirtual.  Since treevirtual sets a
different row height than the default table row height, I suspect that what
you're seeing is an artifact of the text box (editor) not exactly covering
the cell, or something like that.  If you wanted to investigate, that's
where I'd probably start.

Setting the data value to be empty removes the symptom.  Your problem, then,
is if they press Escape to avoid the edit or cancel their changes, it's no
longer able to set the original value back.  Maybe you don't care in your
app, but it's food for thought anyway.

Derrell
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to