Saturday, February 23, 2013

Re: Is there any EditableTextBox?

Well, the quickest way I could think of using a single EditTextCell is the following:

        EditTextCell textEdit = new EditTextCell();
        CellList<String> cellList = new CellList<String>(textEdit);
        List<String> list = new ArrayList<String>();
        list.add("single line field");
        cellList.setRowData(0, list);
        panel.add(cellList);


Am I overcomplicating things, or did I miss something?
I don't feel using a component like CellList which is initially designed to display a list is a good solution to just show a single editable label, is it?

Thanks


2013/2/22 Thomas Broyer <t.broyer@gmail.com>


On Friday, February 22, 2013 8:19:17 PM UTC+1, membersound wrote:
Yes I'm already using EditTexCell in CellTable/DataGrid.

But I'm looking for a one-line label that is inplace editable.

Read again; keyword: CellWidget
 


2013/2/22 Thomas Broyer <t.br...@gmail.com>
Have you tried using the EditTextCell within a CellWidget?

On Friday, February 22, 2013 3:14:47 PM UTC+1, membersound wrote:
Hi,

maybe I'm missing something, but: is there any EditableTextBox widget available? I mean a single-line label which changes to edit mode on click, just like EditTextCell does in CellTable Columns?
If not, how could I use EditTextCell as a replacement for what I'm looking without having to create a CellTable (which would of course be overkill for a single edit label).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.

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

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

No comments:

Post a Comment