Thursday, May 26, 2011

Re: Selecting TextInputCell

Best I could come up with is to use a modified version of EditTextCell
instead, which at least highlights the text in the box on click. This
still seems like a bug or at least an area that needs improvement.

-TJ

On May 25, 10:23 am, tjmcc18 <tjmc...@gmail.com> wrote:
> I have a CellTable which makes use of TextInputCells to allow the user
> to edit data.  I would like this to behave in a spreadsheet like
> manner such that the user can select the various textboxes and make
> changes as they see fit.  However, the default behavior for selecting
> the textboxes is not desirable.  When a user first selects a textbox,
> it receives focus and the user can edit the data.  When the user then
> tries to select another textbox, the previous textbox loses focus but
> the newly selected textbox does not receive focus.  Clicking on the
> box again gives it focus.  In essence it takes two click to select the
> textbox.  This is very annoying.  I believe the first click possibly
> selects the cell, but I'm not sure.  Does anyone know how to get
> around this?
>
> -TJ

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment